In the autumn of 1720, Woodes Rogers began to focus his attention on capturing Rackham, sending pirate hunter Jonathan Barnet in pursuit of him. Barnet captured Rackham and his crew while they were at anchor (and drunk) in Dry Harbor Bay in Jamaica, October 1720. They were tried and convicted in Spanish Town, Jamaica on November 16 or 17, 1720. Rackam was hanged at Gallows-Point in Port Royal on November 18, 1720.
Rackam’s body was then tarred, hanged in a cage, and gibbeted on display on a very small islet at a main entrance to Port Royal called Deadman’s Cay (now known as Rackham’s Cay). At Rackham’s trial Anne Bonny was asked to testify on his behalf. She told the court the famous line “If he had fought like a man, he need not have been hanged like a dog”.
Anne Bonny and Mary Read both claimed to be pregnant at their trials, a week after Rackham’s execution, and so were given a temporary stay until the claim was proven. Read died in April 1721 of fever related to childbirth, while Bonny was spared execution and disappeared from all historical records.