Finally, the crew of the yacht set up an iron-barred cage on the deck of the derelict, with a group of armed men inside, and they hold a vigil while the yachts hover expectantly nearby, ready to turn their spotlight on the derelict. In the dead of night a strange noise is heard, and the men in the cage fire a gun. The yacht trains its spotlight squarely onto the derelict ship, and the men are astonished to see that the rigging of the derelict ship is full of pirates. In the ensuing gun battle, all the pirates are killed. The derelict is not really flooded; while the upper part of the hold is filled with water and floating timber, it has been retrofitted with an airtight compartment underneath, accessible through the hollow lower masts, and is complete with electric lights, ventilation fans, and motive power. The lost men are found below, bound in chains but unharmed amidst a king's ransom in stolen gold.