As part of Force K, "Ajax" bombarded Gold Beach during the D-Day invasion; the battery at Longues gave some trouble but was silenced by 6-inch shells through the embrasures of two of the four casemates. She later supported the landings in southern France. "Ajax" also operated in the Aegean during the reoccupation of Athens and the communist uprising in Greece.