The only reason she went was because the US military deemed it safe to do so. No one wants a war right now.
> I wonder what she was really trying to accomplish.
Why not listen to her words?
"We must stand by Taiwan, which is an island of resilience. Taiwan is a leader in governance … . At the same time, Beijing is squeezing Taiwan economically, pressuring global corporations to cut ties with the island, intimidating countries that cooperate with Taiwan, and clamping down on tourism from the [mainland]. In the face of the Chinese Communist Party’s … accelerating aggression, our congressional delegation’s visit should be seen as an unequivocal statement that America stands with Taiwan, our democratic partner, as it defends itself and its freedom."