When time runs out, the castaways discover that Nemo has invented an air-filled raising system which can refloat the pirate ship, the only readily seaworthy vessel on this island. Nemo teaches them to breathe underwater using his special "shell" air tanks, and they work to raise the ship, despite interference by a giant cephalopod. With the pirate ship raised and seaworthy, the castaways set sail. The volcano erupts and Nemo is killed as the "Nautilus" is buried, but the rest escape and begin the journey home, vowing to continue Nemo's dream of achieving lasting peace throughout the world.