Silver forces Jim to use the map, directing them to a portal that opens on any location in the universe, which Jim realizes is how Flint conducted his raids. They open the portal to the center of Treasure Planet, discovering that the planet is really a space station built eons ago that Flint commandeered to stow his treasure. As the pirates prepare to collect the loot, Jim finds the skeletal remains of Flint, holding the missing component to B. E. N. 's cognitive computer. He reinserts it, and B. E. N. immediately recalls that Flint had rigged the planet to explode upon the treasure's discovery. The planet soon begins to fall apart. Not wanting to go empty-handed, Silver attempts to escape on a boat loaded with treasure, but eventually lets it go to save Jim. The survivors escape to the ship, but it gets damaged and is unable to leave the planet in time. Jim rigs a makeshift rocket-powered sailboard, and rides ahead of the ship towards the portal. At the last moment, Jim sets the portal to Montressor Spaceport, and both he and the crew safely clear the destruction.