The sanctions are also here to stay, so claiming that “getting out of Ukraine now” would make any sense or bring them any benefits is wishful thinking.
As far as lessons go, Europe didn’t really learn anything or drew the wrong conclusions based on their approach to China. Instead of staying on its own continent and minding its own business, the EU is playing wannabe-US.
Finally, we have Eastern Europe. Which have hammered the point so hard into the brains of Western Europe that they must have forgotten themselves what the point was. Or at least that would be the case given the dependency they have on Russia, sometimes carefully disguised by moralwashing the gas through another country.