If it were to be a conventional war--which is more likely than the kind of worldwide nuclear disaster you referred to--then yes.
I remember those times. It was expected that in case of a conventional war, the Warsaw pact would win, and in consequence the NATO would start using nuclear weapons. That was the official line, not often told in plain English (or understandable German), but combining several statements from military and/or politicians, you could see this clearly
This was the only realistic scenario of a conventional war in which Germany was involved, and if you theorize about other wars (against, say, Switzerland), Germany would probably be able to stand any such (theoretical) aggression.
And if it were to be that civilization-ending event everyone was fixated on in the 1960s, Germany's help would not make any difference.
Therefore, it was essential to limit international conflicts and so avoid any escalation into catastrophe.
in other words: Contribution to safety are not only military, but also strengthening of international organizations, international cooperation, diplomacy, and international law. Germany did not little for this objective, especially in times of "detention"
This (you should work for safety in non-military ways) still holds for today, because the risk of a nuclear escalation is not zero. Trump has increased it.