When you file bankruptcy you have to go through a legal process to file the bankruptcy.
Once you file bankruptcy it can be nearly impossible to stop the bankruptcy after you file for the bankruptcy.
You can sometimes stop a bankruptcy after filing but you must do so soon after you file the bankruptcy.
The longer you wait to try to stop the bankruptcy the less chance you have at stopping the bankruptcy.
You have to prove that it will not hurt the creditors and you will need to go through the whole legal process of getting the bankruptcy stopped.
Once you file bankruptcy it's usually best to let the bankruptcy continue.
Stopping a bankruptcy may hurt your credit more than just allowing the bankruptcy to continue.