The squad take stock of their eight years together and look toward their future.
Jake tries to find Charles, who went missing and won't answer his phone calls. Meanwhile, Terry and Holt visit Williams to ask for another chance for Terry to become Captain. However, Williams reveals that he is actually part of the heist and locks them in the office.
Rosa expresses her concerns to Amy about Adrian Pimento, as he is heading back to Canada and thinks she still has feelings for him. Jake locates Charles at an abandoned house where they both deemed each other best friends nine years ago and explains his decision to leave. He reconciles with Charles by telling him they'll still be friends even after he leaves and gives him his gift: Their favorite magazine with a picture of them on a page, delighting him. They then work on setting up fireworks for the final step. However, the fireworks accidentally set themselves up and Jake fails to turn them down as the timer hits zero.
Jake seemingly wakes up in the hospital and is told by Amy that he has been in a coma for 7 years. She tells him Boyle survived the incident and moved to Arizona out of guilt, where he became a Sheriff, and that she is back in a relationship with her ex-boyfriend Teddy to help her raise Mac. However, it was all a setup to get Jake to reveal the location of the real tube, she put Jake's resignation letter in his locker, set up a fake hospital room in the precinct, and controlled the fireworks in the closet. The fireworks never blew up, as Amy just sedated Jake and Charles. She leaves Jake handcuffed to his bed and Charles locked in the supply closet as she tells Teddy she's throwing a goodbye party for Jake at Shaw's.
Holt and Terry manage to escape from the fake office by using a short circuit. Mlepnos helps Jake and Charles escape and they confront Amy, but they find that the tube is not where it is planned and is moving. As they go in their car to find it, Scully joins them and Charles reveals to Jake the plan that Amy had for his perfect goodbye. They drive to the location of the tube, followed by Holt and Terry. They arrive at the location: the location of the first case the squad had with Holt when he became Captain. Holt then reveals that he orchestrated it, as he planned his own "perfect goodbye". He also states Terry's interview was orchestrated by him and Terry got the promotion to Captain several weeks ago.
However, Holt finds out that he is carrying Jake's gift tubes. Rosa and Gina show up and are revealed to be holding tubes, having tricked Amy into thinking Rosa was going to leave with Pimento, only to discover that they have Holt and Amy's gift tubes. Bill is revealed to have the real tube and locks them in the storage unit, as the heists are his only source of income. During this, Jake accidentally reveals that he is leaving the NYPD. Terry encourages the group to work together and helps them escape by crashing through the wall. They discover that Bill has fled to the precinct with the tube.
At the precinct, the squad is shocked to discover Hitchcock with the real tube. Hitchcock reveals he never retired or went to Brazil. He also states he never had a plan for the rest of the heist and just bought the tube for $40 from Bill. Jake then unceremoniously crowns Hitchcock as "The Grand Champion of the Nine-Nine" and tells the squad he planned the heist as his goodbye so he wouldn't be so sad leaving his job. The crew enjoys their last night together and reflects on the previous years. Rosa tells Amy she doesn't plan to settle down anytime soon and wishes her luck with her new position. Terry tells Charles he'll be relying on him as they're the only ones staying at the precinct. Holt reflects on Jake's growth throughout the years and further adds that if he had a son like Jake, he would feel very proud of him, moving him to tears. Everyone then leaves the precinct together in the elevator.
Over a year later, the now Captain Terry addresses his bullpen on Halloween, which includes Charles, Hitchcock, Scully, and several new faces. Jake, Amy, Holt, Rosa, and Gina suddenly appear, wanting to continue with the Halloween Heist tradition. Terry considers this for a moment before proclaiming, "Nine-Nine!", followed by the rest of the squad saying "Nine-Nine!"
|Andy Samberg||...||Jake Peralta|
|Stephanie Beatriz||...||Rosa Diaz|
|Terry Crews||...||Terry Jeffords|
|Melissa Fumero||...||Amy Santiago|
|Joe Lo Truglio||...||Charles Boyle|
|Andre Braugher||...||Captain Ray Holt|
|Dirk Blocker||...||Michael Hitchcock|
|Joel McKinnon Miller||...||Norm Scully|
|Jason Mantzoukas||...||Adrian Pimento|
|Chelsea Peretti||...||Gina Linetti|
|Dan Goor||...||Dan Goor|
|Andy Rocco Kraft||Detective Yorken|
- The cellist in the crate, Caroline Saint-Jacques Renard, is played by Andy Samberg's wife Joanna Newsom, who is a film composer and performing musician.
- The outfit Jake is wearing at the end is the same outfit he was in during the second heist in season two.
- On the last day of filming, Terry Crews kept pronouncing Boyle's new partner, "Larkin" instead of the character's real name Yorken. The writers thought it would be hilarious if the character's full name was Larkin Yorken so they kept it.
To be added