Complete story — includes the ending
Jake undertakes a dangerous undercover mission at the warden's behest, but it looks like he'll end up getting killed by Romero, no matter how it turns out. The squad tries to figure out how to prove Lt. Hawkins was behind the robberies she framed Jake and Rosa for. An operation to hack into her phone is one option, but a more viable and much more dangerous one involves a Hawkins-loathing mob boss named Seamus Murphy, who will give Amy the information to clear Jake and Rosa if she will "do a favor for me" in return. When the operation fails, Holt secretly obtains the information from Murphy, resulting in Jake and Rosa's freedom at the cost of a favor Holt will owe Murphy in the future.
Sources and content license
Source and revision history · Adapted from Wikipedia contributors, Brooklyn Nine-Nine season 5. HTML formatting and reference markers removed. · Content license