HELP! What is the etymology for a pirate's phrase, "to hang the jib?"?

i know it means to look ill-tempered, but that's it. i need the etymology. please help.
1 answer 1