If the sub was traveling at full or flank speed, passive sonar (standard operating procedure) would have been pretty much useless, thanks to the flow noise over the hull, with a contribution from machinery noise transmitted through the hull in spite of the acoustic mounts for reducing machinery noise transmission.
Also, mountains don't really have a signature on passive sonar, so even if it was traveling at lower speeds it's still unlikely there would've been much of a detection possibility.
(Active sonar is really frowned upon in most conditions, as it gives away the sub's position at far greater distances than the sub can get good data.)