Define catastrophic. The San Juan hit an underground mountain at a full bell and was so banged up it had to sit and wait for a sea going tug to come get it. But no one died. What happened to those men is much more catastrophic than running into some rocks.
I think the submarine was "in extremis" as it got too close to the rocks, but the "catastrophic consequences" came when the OOD/Captain decided to take evasive maneuvers to avoid grounding. It then exposed these sailors to the heavy seas. Being tethered, they could not get free from the sub, and instead were bashed against the hull. This was a case where simply being swept overboard might've been the safer option.
I think you mean the USS San Francisco. The San Fran was my boat before they wrecked it. One sailor did die in the collision actually, an MM2 in A-gang.
Uploaded with ImageShack.us