A man was working on a boat with a rope.