Jim sneaks out of the stockade and cuts the ship loose, crashing it on the beach, securing it for the crew, and killing a pirate left on the ship in self defense. Jim sneaks back to the stockade, where to his surprise, Long John Silver and his men are now staying! Silver explains that the captain and Dr. Livesey agreed to give up the map and the stockade for free passage. However, when the mutineers get to the treasure, they find that someone has already dug it up! Before the angry mutineers can attack Silver and Jim, the original crew pop up and ambush them with guns, having already dug up and hid the treasure.