"Cotton" served as a convoy escort from May to December 1944, operating mostly between Liverpool and Gibraltar. In 1945 she escorted three convoys to the United States, and was part of Russian Convoy JW 66 in April 1945, during which she participated in the sinking of , with and on 29 April – the last naval gun battle of the war with Germany.