The petition does not get dismissed if you fire your lawyer. You'll have to dismiss your petition on your own if you don't want to instruct your lawyer to do that for you.
File a Motion to Dismiss, send proper notice to the other side and offer to reimburse any court costs the other side incurred, schedule your court date, and appear (remember to bring to court the money you'll have to tender to the other side or a receipt showing you already have done that.
You need to file a motion to voluntarily nonuit and dismiss your case. You need to call the clerk's office for a court date or visit in person and send a notice of motion to spouse. You can do it yourself or have your lawyer enter. It requires a court appearance. Check online for forms at the clerk of the court website and circuit court website. They probably have a motion to dismiss for and the order to enter and the notice of motion form.
IF YOU FOUND THIS ANSWER "Helpful" or " The Best Answer" YOU CAN THANK ATTORNEY RADDATZ BY MARKING IT SO because Avvo awards the attorney points. MS. RADDATZ is donating her time and talent by answering questions to help those in need of legal information. This is NOT a consultation and in no way creates an attorney-client relationship. YOU SHOULD ALWAYS PERSONALLY CONSULT WITH AN ATTORNEY IN YOUR LOCAL AREA who has specific expertise in the area of law you are asking about. Remember that it is the Lawyer who: Punishes the wicked, Protects the innocent, Raises up the lowly, Opposes brutality and injustice, Seeks equality of humanity regardless of color, cast, sex or religion, Leads in every cause, and Seeks the best in everything.