What is the cleat hitch knot used for on ships?
The cleat hitch knot is primarily used to prevent the boat from
floating away from the slip. It is merely a half-hitch, secured
about the dock's cleat. It is the same knot used to secure the
halyards (near the bottom of the mast), and the flag (near the
bottom of the flagpole).
Check out the (animated!) related link below for more
information: