 When the crew sees a British ship arrive at the scene, Gibbs hands the captain's hat to Scrum so that Scrum would take the fall for being a pirate captain, instead of Gibbs.The crew is captured and locked in the brig of the ship.The crew escapes the ship by picking the lock on their cell with a crewman's toenail, climbing off the ship and into a lifeboat.