laws in the british empire were enforced, and followed almost religiously. The HMS bounty is about the only time anyone has openly mutinied against the empire and kept their life and freedom, or perhaps the US in 1776
consider that the rum rebellion was put down in australia in 1810 by the royal navy, or the Wager mutiny - the survivors of a shipwreck/mutiny on the south coast of Chile in 1741 were court martialled in London a few years later. A sailor in those days even in a place as far flung as china or south africa would reasonably fear ending up being hanged in london