Moving the goalposts to a generic U.S.-decline narrative does not answer the question:
How does Taiwan "switch allies" to the adversary that's trying to annex them?
How does Taiwan "switch allies" to the adversary that's trying to annex them?
To answer your question perhaps one way could be for China to put forward a long term map to recognize the KMT as a party and unify as one China may years in the future. I would guess it would take a generation or even two to pass before that might happen and China would have to make the case that the people of Taiwan would be better off with the mainland rather than independent of it.