A rip current can carry sand, sediment and swimmers many yards seaward.
When caught in a rip current, don’t panic and don’t exhaust yourself trying to swim against the current.
Instead, swim across the current, parallel to the shore, until you’re clear of the current. Eventually it will be easier to swim back to shore.