Unfortunately, you cannot voluntarily dismiss a Chapter 7 bankruptcy.  If you or your attorney file a motion to voluntarily dismiss your case, you may be required to attend a hearing whereby the Court will inquire into the status of your case and decide whether or not to dismiss it.  If, by chance, you have nonexempt assets, they will continue to be at risk.