A man climbed to the top of a rocky cliff by the sea.