Man hangs onto rock while out in the ocean .