US-China trade imbalance since 1985.

The data stops at 2023. If a total trade embargo happens, China would be saying "No, no. You keep your $279B/year. We do not want your money."
China can soften that blow by trying to new buyers. The rest of the world is about to have a bunch of Chinese products dumped on them at fire sale prices.
Long term, can China afford to have hundreds of millions of un-employed or under-employed workers? Peter Zeihan has argued that labor shortages have driven up wages in China and I have no reason to doubt him, so maybe a trade war would not hurt China as much as it would 10 or 20 years ago.