Submarine
After World War II better sonar helped the enemies of submarines to find and destroy them. New subs were more streamlined and had no deck guns because water dragging against the guns made noise underwater and slowed the subs.