These verses are printed in William Clark Russell's Sailors' Language: A Collection of Sea-terms and Their Definitions (1883). Russell explains:
A ship's carpenter once told me that he was clapped in irons and lay manacled for six weeks in a voyage to China for writing the words of [this] song which the sailors sang on every possible occasion when the captain was on deck.
These are "a fair sample of the sort of 'growling' Jack puts into his songs". The shouts of Board of Trade are meant "to annoy the skipper" as any skipper at that time feared a complaint to that venerable body.