When you misbehave on a body of water, or a ship. Also when a seaman misbehaves.
Look at that bloke stealing that yacht, that's so naughtical.