If a defendant decides to plead guilty or no contest in a criminal case, he may be able to later withdraw that plea under California Penal Code 1018 PC. In order to withdraw a plea, an accused must do two things. These are: Show “good cause,” and, File a Motion to Withdraw a Plea.