Shareholders may have statutory appraisal rights to receive fair value for their shares, seek injunctive relief to prevent the merger, or file a lawsuit for breach of fiduciary duty committed by directors.
For example: If a company merges and a shareholder believes the terms are unfair, they can invoke appraisal rights, compelling the corporation to buy out their shares at a price determined by court to be fair.