The Shakespeare line is clear enough, but maybe he uses it as a metaphor from a real sailors' term.