In a take over scenario you can put that money elsewhere and defer tax until you sell the new lot of shares. The legislation refers to compulsory take over.