From a native point of view, most people would say "I was swimming for 20 minutes" and wouldn't mention bathing. You would want to lay down on the sand not under the sand (unless you wanted to be buried under the sand). The rest all makes sense. Hope that helps