That's what they make subs for. Russian subs were following the aircraft carrier around. I think it was the Nimitz. Happened in the late 70s.