 While Amy and Riddell shoot hostile dinosaurs with a tranquiliser gun , the Doctor disables Solomon 's robots and rescues Nefertiti , then tricks the ISA missiles into targeting Solomon 's ship rather than the ark : it is destroyed , taking him with it . Rory and Brian pilot the ark away from the Earth , as the ship can only be piloted by two people of the same gene chain . The Doctor then takes Amy and Rory back to their home after letting Brian view the Earth from orbit . Nefertiti , who has been flirting and clashing with Riddell , opts to go with him rather than return to her own time . Amy and Rory receive a series of postcards from all over the world sent by the previously travel @-@ shy Brian , along with one featuring the dinosaurs , the TARDIS , and a sign saying " <unk> " . 
