The shutdown had nothing to do with renewables. It was done by conservatives who, in the same year they took this step, proudly proclaimed that they stopped the buildout of PV in Germany.
Yeah, shortening energy supply when you already have a supply crunch is very good way to kill the economy. The only question is if this was done by stupidity or malice.