Seek legal assistance.
If the company owes debts, shareholders can seek legal assistance and protect their own interests through legal means. For example, sue the company through the court to pay off debts, file for bankruptcy, etc.
Shareholders are the contributors or investors of a joint-stock company. As investors, shareholders enjoy the owner's rights to share income, make major decisions, and choose managers according to the amount of their investment.