If you file for bankruptcy and you own shares in a business, those shares are an asset of your estate. Above any applicable exemption (e.g., the wildcard) your assets are subject to the claims of your creditors.