In a climactic battle, the crew uses the repaired USS Franklin and a blast of "classical" music (Beastie Boys' "Sabotage") to disrupt Krall’s swarm. Kirk eventually stops Krall from releasing the bio-weapon inside Yorktown's life-support system. In the aftermath, Kirk and Spock both decide to remain with Starfleet as they begin construction on a new ship: the .
bond while trying to evade Krall’s forces.
investigate the crashed remains of the Enterprise.
The crew discovers that Krall is searching for the , an ancient bio-weapon that Kirk recently acquired. They eventually learn that Krall is actually Balthazar Edison , the former captain of the Franklin. Feeling betrayed by the Federation's shift from war to diplomacy, he has used alien technology to prolong his life and now intends to destroy Yorktown and the Federation.
encounters Jaylah , a scavenger who has made her home in the USS Franklin , an early Starfleet ship that went missing decades ago.