The Battle of the Atlantic was the longest continuous military campaign in World War II to defeat the Germans in 1945. The British Royal Navy repeated the blockade of Germany of World War I, and Germany repeated its attempt to blockade Britain by using U-boats.