They initially didnt have quick restart procedures for that and it contributed to a nuclear sub sinking. After that they added those procedures and improved the technology
https://en.wikipedia.org/wiki/USS_Thresher_(SSN-593)#Cause
> After the accident Rickover further reduced plant restart times, which had already been gradually improving with new technology and operating experience, in addition to limiting factors that could cause a shutdown.[26]