This is a good analysis, but coming full circle - having a trade surplus is not itself a vulnerability. Rather the actual vulnerability would be needing US dollars, to pay for imports (raw materials and whatever else they don't manufacture themselves). If China doesn't need more US dollars (because perhaps they are already holding plenty of treasuries), then they can simply prop up their internal economy with financial stimulus. And longstanding currency controls make it so they can manage this easily. Print yuan to buy that stream of goods that were previously being exported, and just bury them in a hole in the ground. Or more fruitfully, give that yuan away to their poor rural population to boost their standard of living, improving the country and shoring up support for the Party.
I don't think things are so straight forward because everything is connected in ways that are sufficiently complex to defy any sort of straight forward thinking; when you change one thing, 10 other things change and in ways that will invariably end up with completely unexpected outcomes. For the most straight forward example - those things that are exported are not just buried, but end up being used in various processes. And China itself is also heavily dependent on imports, importing upwards of $3 trillion in goods and services. When your exports are no longer available, you may soon find that neither are your imports, and suddenly everything starts breaking.