 An alternate ending was written where Taylor, Brent and Nova escape  the underground prior to the bombs detonation (it wasnt written as  a doomsday bomb yet). They return to Ape City and, along with Zira  and Cornelius, release the humans from the cages and a new order is  begun. The script ends hundreds of years later with the Lawgiver  teaching a group of ape and human children sitting in harmony  together. The "Lawgiver Scene" was resurrected as the framing  structure for _Battle for the Planet of the Apes (1973)_ (qv). The  final shot of the script shows a mutated gorilla emerging from the  underground and fatally shooting a flying dove.