Source plot synopsis — includes the ending
One year later, the crew has constructed a colony to extract resources from the planet and conduct repairs. However, after a four-minute test flight, Buzz finds that four years have passed on T'Kani Prime due to the effects of time dilation from travelling at relativistic speeds. Alisha gifts Buzz with Sox, a robotic feline companion, and Buzz decides to continue testing the hyperspace fuel. With every test, four more years pass on T'Kani Prime, until eventually over 66 years have passed. During this time, the colony develops, with Alisha raising a son with her wife Kiko, subsequently dying of old age, while Sox improves the fuel's composition, allowing the ship to obtain faster-than-light speeds.
Against the orders of Alisha's successor Commander Cal Burnside, Buzz, accompanied by Sox, uses the new fuel composition for a successful hyperspace test. However, he and Sox skip 22 years into the future during which T'Kani Prime has been invaded by Zyclops robots led by Zurg, the robots' commander. Buzz and Sox meet up with members of the colony's defense forces: Alisha's now-adult granddaughter Izzy Hawthorne; Mo Morrison, a fresh, naïve recruit; and Darby Steel, an elderly paroled convict. While initially reluctant to work with them, Buzz eventually warms to them after they escape from a nest of insects and investigate a mining facility to repair their ship. Together, they plan to destroy the invading force at Zurg's mothership.
As they head back to the ship, Zurg intervenes and captures Buzz, then reveals himself to be an older version of Buzz from an alternate timeline, which split upon Buzz's return to the planet after the successful hyperspace test: soldiers from the colony attempted to arrest him under Burnside's orders, forcing him to flee into space. This Buzz and his Sox escaped at full speed and, via time dilation, flew hundreds of years into the far future, where he encountered and stole extremely advanced technology, and eventually developed a way to travel back in time to prevent himself from stranding the Star Command crew upon the planet. Having worn out his own fuel, Zurg needs fresh fuel to travel further into the past and complete his mission, so he requests it from his younger self. Realizing this would erase Alisha and Kiko's life together, along with Izzy and the lives of all the other colonists, Buzz refuses.
Aided by Zurg's Sox, Buzz and the cadets escape Zurg's ship and set it to self-destruct. On their return to the planet via a crash landing, Zurg attacks and takes the fuel for himself. Buzz ejects to shoot the fuel, causing an explosion that seemingly kills Zurg. With the fuel gone, Buzz finally accepts T'Kani Prime as his home. Burnside arrests the group with the intention of detaining them for their actions, but relents in light of Buzz's bravery against the robot armada. Allowed to revive the Space Ranger Corps, Buzz selects Izzy, Mo, Darby, and Sox as his team. With a new fuel crystal, Buzz and his team embark on a mission to investigate an unknown signal from the Gamma Quadrant of sector 4. Elsewhere, Zurg is shown to have survived the explosion.
Sources and content license
Source and revision history ↗ · Adapted from Wikipedia contributors, Lightyear (film). Section headings and formatting adjusted. · Content license