When Kalinda found a way that Cary and she could avoid jail
After being given a prisoner's dilemma by the State of Illinois, Kalinda learned that Cary made an agreement to testify against Lemond Bishop in order to ensure her safety. Instead of testifying, Kalinda turned over incriminating evidence on the drug lord via a storage drive from Bishop's No. 2—saving both Cary and herself.
Watch "The Deconstruction" (Season 6, Episode 20) on CBS All Access