A man on a ship carrying a lifebuoy was preparing to save a man who had fallen into the sea.