Also commented downthread, but sonar IS always on at all times. https://news.ycombinator.com/item?id=35780124
Honestly, I'm extraordinarily surprised that the USS San Francisco didn't sink killing everyone onboard. Have you seen the photos? https://en.wikipedia.org/wiki/USS_San_Francisco_(SSN-711)#/m...
The only reason that the submarine was able to get to the surface and stay there after this was because the damage was just on the port (left) side. Even with that luck, they were only able to stay on the surface because a piece of equipment was able to stay running for several times longer than it was designed to do.
You can read more about it in various places (like here: https://nationalinterest.org/blog/reboot/what-happens-when-s... ) but imagine being at work and suddenly getting thrown toward a wall at 20++mph. Damages and injuries everywhere, and its a miracle only one person died.
Yeah completely forgot there is both active and passive sonar.
It's probably one of those things that shouldn't happen if you're doing everything else the "right" way.
I believe there are Sonar bouys that are toed behind ships to detect submarines. These could be used, and I would guess that these are used to map the sea floor, but the sea is so flipping big that there are still unmapped areas. But I'm not an expert and would defer to an actual expert (or ChatGPT)
Passive sonar (where you just listen to acoustic energy in the water) is used by submarines and surface ships to find submarines. With both on-board and towed sonar.
Submarines don't have any sonar designed to map the sea floor, though there are tools to identify the depth below the keel at any given time. Creating proper maps of the sea floor are done by much more specialized equipment/systems/processes. https://en.wikipedia.org/wiki/National_Geospatial-Intelligen...