I think it depends on how you merge etc. In the worst case, your company is merged and then resident in Estonia. And in the better case, you will then pay more tax than you would pay in Estonia elsewhere.Yes, obviously. That's how it works everywhere.
But why would a company that is closed or merged with company in another country in 2025 have to pay tax in Estonia in 2026?
I think that's why @Don does not recommend doing this. Better to off-ramp now.