By now, the BEF was withdrawing towards the coast and beginning its evacuation from Dunkirk. 2nd AA Brigade took over control of all AA defences in Dunkirk on 24 May, with 51st LAA Rgt providing air defence in the northern sector of the pocket. At Dunkirk the last three guns of B Trp were constantly in action on Bray-Dunes, one gun being destroyed by a direct hit. Here they were joined by 152nd LAA Bty, with D, E and F Trps, which took up positions on the Dunkirk beaches and went into action at once. They were in continuous action from 21 to 25 May and many aircraft were brought down. The Bty commander, Major F.C. MacKenzie, was killed and buried in the dunes, the second-in-command, Capt A.M. Hicks, was wounded and a 2/Lt took over. By 27 May, all ammunition was expended and the guns were destroyed before the crews were evacuated. The RA history comments: 'This gallant battery had done much to save the BEF from the incessant air attacks n the beaches'.