Generally, a Chapter 7 cannot be dismissed except with court approval. You will have to file a motion. However, if there are assets that can be liquidated and used to pay creditors at least partially, most judges will not grant dismissal.
Check with your bankruptcy attorney, or get one if you don't have one. Each case is different. Get competent advice for YOUR situation.