Even though there's sonobouys, radar, sonar, and satellite tracking, it's still easy to lose a ship. That's especially true if it's a sub.
Nothing worse then getting caught with your pants down.
Wait, so your point is if your ambushed then your likely to lose? Oh I've missed you Captain Obvious .
My question is what does that have to do with a railgun?