it was damaged enough to be taken out...of the water
Mobile dry dock. A requirement for fixing below the waterline damage. Since the watertight doors sealed on the ship at the time of the attack, the hole in the side left the ship with a bit of a list, but no real danger of sinking.