Deadlock can be resolved by buyouts, mediation, or court intervention. Well-drafted shareholder agreements often contain provisions to deal with these situations.