It's only a gain if you sell.
Selling a company and paying tax on the profit in tax is a completely different proposition from paying tax on hypothetical profit you haven't made (and might never make) just because you want to move.
That's what unrealized means. Gains you haven't got because you haven't sold.
That's what unrealized means. Gains you haven't got because you haven't sold.