Three people were plunged into the sea after residents were warned to stay away from low-lying areas near the beaches.