You need to hire a family law attorney rather than try to get advice about this over an internet site.
I am a tax attorney, not a family law attorney. Since no one else has yet responded to you, let me give you my best guesses. 1. If the spouse closes the business before the divorce, the Judge has the discretion to determine the value of the business. The judge might decide that your spouse only closed it due to the divorce and decide to value it as of some earlier date so as not to give your spouse the benefit of a zero value for a business which your spouse might easily be able to later start up again. 2. Your liability with the business, as between third parties, ends when your relationship with the business ends. Third parties are not impacted by your divorce. Yes, if you are still liable for the business, it seems only fair that you would be entitled to half the profits. However, a family law judge has very broad discretion, so you can never be certain how this issue will be decided. That is why you need a very good family law attorney.
You may want to file a motion to seek court oversight of the situation and to maybe ask for an order that the business not be closed, or that you run it yourself if he tries to close it. I don't know all the details or why he may be closing the business and these details (not so minor details), and therefore it is difficult to give a more complete recommendation. Meet with a family law attorney before you take action.
The answers offered by this attorney are for general information purposes only and you should not take action based on these answers without first speaking with an attorney who can go over all the facts of your case in person. Every case is different; a change in facts results in a different answer.
Sign up to receive a 10-part series of useful information and legal advice about the divorce process.