Which would make more sense if they had not shutdown all their nuclear power stations, whilst still generating roughly 40% of their power with gas/coal power stations.
They were EOL, I'm not sure what you expected them to do with them? I don't really care about whatever pro/anti nuclear stance you have, I think it's pointless to even discuss in the German context because that ship sailed years ago.
Prolong their lifetime like many countries constantly do? There are literally reactors from the 50s in operation, reactor life can be increased with maintenance and security improvements.
The shutdown was planned 3 years ago. The reactors were prepared for the shutdowns, maintenance was cancelled and also no new radioactive material was sourced for them. So, it was not easily possible to just revert the decision and just keep those reactors running. Even getting them back to a state, where they could be kept running longer would have taken several years.
The train is LONG gone and it's economic and political suicide to start now.
The whole "WhY DoN'T yOu BuIlD nUclEaR" is ignoring the large delays and over budget projects of modern reactors.