Good advice. Do not try to swim back to the shore - against the current. It might be scary at first beeing draged out but the current ends about 50meters form the shore.

This current pattern is very frequent on sandy beaches. But if you know what to do it is not too dangerous.