The ensuing investigation revealed that the accident occurred while the submarine was surfacing rapidly.