Unrealized capital gains taxes generally are a bit absurd, but I can see how the state would feel forced to do it if you're leaving. Seems like there should be some way to get a registered agent or something to keep the old company legally "in Germany" while you leave, but idk

[deleted]

You can avoid being taxed on unrealized gains by realizing them first ;)