I can find a lot about how spanningtree works when a port goes down. Different recovery time are possible on the chosen spanningtree.
But what happens when a trunk port comes active? Is only that one port going to learning mode or are all trunk ports on that switch going to learning mode?
And what happens if the new trunk port is closer to the root bridge?