There are four ways to undo a guilty plea in the Arizona state court system. The first way is to simply withdraw the plea. This can be done prior to the court accepting the plea. The second method is to file a Motion to Withdraw the Plea to Avoid a Manifest Injustice. The third is to file an appeal. And fourth is through Rule 33, Post-Conviction Relief (PCR).