In the worst case scenario, a bankruptcy trustee could liquidate the business (sell all of its assets) and take half to pay the bankrupt owner's debts. To prevent a business from getting tied up in bankruptcy court, the owners can sign a buy-sell or buyout agreement that requires a co-owner who faces bankruptcy to notify other co-owners before filing. Under the terms of this agreement, this becomes an automatic offer to sell the bankrupt owner's interest back to the other owners. The buyout money goes to the bankruptcy trustee and the business can proceed without difficulties.
If you need legal advice for your business, talk to a lawyer.