Unless the sub captain already knows where the carrier is going, and is already there in front, quietly waiting.
That’s exactly it. Diesels usually wait for their unsuspecting target. They don’t have the speed or distance underwater to pursue like the Russian nuke subs.
Like your cat, when you get up at midnight to go pee.