"Hotspur" did not see any action during the Japanese Indian Ocean raid in April, but she did escort an aircraft carrier in September during the later stages of the invasion of Madagascar. In June 1942 the ship returned to the Mediterranean to escort another convoy to Malta (Operation Vigorous). She was converted to an escort destroyer beginning in March 1943 in the United Kingdom and was assigned to escort convoys in the North Atlantic for most of the rest of the war. After a lengthy refit in late 1944, "Hotspur" escorted convoys in the Irish Sea until the end of the Second World War in May 1945.