The TV series "Miami Vice" ended with its fifth season on May 21, 1989, in an episode called "Freefall." In this finale, detectives Sonny Crockett and Ricardo Tubbs are involved in a high-stakes mission to extract General Borbon from Costa Morada, only to find they have been duped. After a series of violent confrontations, including shootouts and betrayals, Borbon is killed, and Crockett and Tubbs realize the system has played them. In the final scenes, frustrated and disillusioned, they throw away their badges, effectively ending their careers as cops but keeping their integrity intact. This finale reflected the show's themes about the harsh realities of justice and police work, highlighting their burnout and moral struggles.
Additionally, the 2006 "Miami Vice" film ends with a dramatic confrontation where the detectives rescue Trudy from a Haitian gang and take down the villains, but the resolution is bittersweet with personal costs and unresolved emotional aftermath.
If the question refers to the original TV show ending, the above explanation applies. If it refers to the 2006 movie, the latter ending description applies.
