During the final years of world war II the allies gained control of the north atlantic through the use of sonars, anti-torpedo technology (depth charges, etc)
They also had so much transport ships and such that they wouldn't mind losing a few.
hope this helps