The best and easiest way to escape from a rip current is, basically, to do nothing. Relax and go with the flow, but with mindfulness. Relax with awareness and wait for the current to stop. It will cease in it's own time, which is surprisingly fast. So the best course of action is as little action as possible. Easy to say, difficult to actually "do".
Meditation is like this. Dhamma practice is like this. Life is like this. We think we're on solid ground - in control. But there isn't anything really "solid" about any of it. And so we're uncomfortable, unsure, unsteady. If I stand in the water and actually pay attention, there is a continuous push and pull. Sometimes barely even noticeable, sometimes rough and very strong. Mind is the same. Sometimes just barely brushing by and sometimes knocking one flat! Mindfulness - or the lack of it - determines whether we get pulled under and drown or go with the flow until the turbulence begins to subside, calms and finally ceases. This, perhaps, is where control can be found. Not the control of wanting and struggling, but the control of gently releasing the desire for control. Being with the way it is without making it personal, so not trying to change it into anything other than what it is.