when the main ballast tanks are damaged but water does not enter the pressure hull of a surfaced submarine , right the submarine in accordance with documents on keeping a damaged submarine afloat and the rbits , and monitor the submarine 's attitude more closely , blowing as necessary the undamaged main ballast tanks not equipped with kingston valves as they fill.