If you took a plea, there are only four grounds to appeal that. One is the sentence was illegal, the second is if the plea was involuntary. The third is if the attorney was ineffective in giving you advise to take the plea, and the fourth is if the Court did not have jurisdiction. Within a few days you can ask the Court to withdraw your plea, but you have to do so for good cause. You can also file a Petition for postconviction relief an allege that the plea should be withdrawn if you can prove that the advise you received was ineffective. To answer your question, however, the answer is yes. If you took a plea to a lesser charge, and then withdraw it, the prosecution can re-charge you with the greater offense.