A man is standing on the deck of a boat with his dog trying to help him.