A man had to be rescued on the beach.