It's not a situation where shutting down nuclear just magically prevents deaths, because the demand for power is still there. It is a matter of shifting the risks elsewhere. And the numbers are clear that nuclear is far safer than most of the alternatives (most - it's not clear for example if that'd be the case for larger solar installations; it's rooftop installations that seems to be the biggest problem with solar).
This doesn't mean we should uncritically build a ton of nuclear plants, but e.g. delaying the decommissioning of coal plants to take nuclear plants offline, the way Germany did, is tantamount to mass murder given what we know of the relative risks.
I see an analogy to car and plane safety when comparing coal and nuclear safety. Car accidents are more frequent and damage can vary, while plane accidents are seldom but often severe. It is difficult to foresee the future, but we have the past that give us a good indicator of what will save most lives.