It's more like if there was a communist revolution in the US followed by a civil war, with the anti-communists ending up holding Texas or California and establishing their own government there. The Chinese Communist Party has never ruled Taiwan, and Taiwan hasn't officially seceded.