Trump cannot win with just a plan without any backup strategy; just plucking half-baked ideas from thin air like printing free money. The way that Trump is doing, taking two steps forward and two steps back again shows how flimsy his plans were. They were all just hot air with no specific direction and confidence in moving forward, backtracking on the spur of the moment.
Why the USA failed is because it had no backup plan for its agricultural products and farmers were left at a loss as to how to sell the products that China needed but which China are finding substitutes from elsewhere as a result of the first trade war. China backed up its needs by diversifying its sources, already in anticipation of the USA holding it hostage in food security. China thinks far ahead, while the USA only thinks about how to cripple China today, without considering the consequences tomorrow. The tariffs now show how delusional Trump is thinking about de-coupling from China completely.
The second step China took was building the BRI to create a network of transportation links for trade with other countries without having to use the traditional sea routes in times of conflict. It was also a plan by China to recycle its trade surpluses by diversifying its surpluses into building the BRI with long term benefits. Otherwise, such trade surpluses would largely still be channeled to buying USA Treasuries and other assets and risk losing them like Russia.
The third step that China took in co-operation with Russia was the setting up of BRICS to move away from using solely the US$ for global trade. To do that it was also necessary to move away from using SWIFT for trade settlement, which BRICS is well on its way to roll out. It would not be easy for a start, but China plays the long game.
Other than the above, China also planned long ago to build up its control of raw materials, dominating in logistics, refining its education system to prioritize engineering and science training, subsidizing companies investing in growth sector technology like EVs, semiconductors and automation of factories. The benefits are now apparent and enabled China to stand on its feet independently.