After a meltdown, a demoted detective is given the opportunity to go undercover and take down the mo