Under the command of Captain Eric Barry Kenyon Stevens, "Pakenham" sailed to the Indian Ocean in April 1942 to take part in Operation Ironclad, the amphibious landing to capture of the port of Diego Suarez, at the start of the British campaign to capture the Vichy French-controlled island of Madagascar.