Members of the public called the emergency services after they saw a group of teenagers struggling to get back to shore.