If a prosecutor gets “buyer’s remorse” and wants out of a deal, most states criminal laws say that he/she can back out of a plea if it is done prior to the defendant entering the plea in court, and the court entering judgment.