If the surface ship had any kind of passive sonar it would almost certainly be heard. I don't know what would lead to such a catastrophic hull failure of course, maybe something at a seam of the port window. If a leak started they'd loose buoyancy quickly and sink.