I do know U.K nuclear subs are equiped with an Emergency Propulsion Motor (EPM) which is driven by a D.C (battery backed) power source should the main steam turbines fail or the reactor inadvertently shuts down.
This inconjuction with blowing the main ballast tanks should provide enough forward momentum to enable the boat to surface, hopefully!