When Dunkirk was no longer a viable option for evacuation the remaining men of the BEF sought alternative ports for rescue.
Almost 192,000 Allied personnel, 144,000 of them British, were evacuated through various French ports from 15–25 June under the codename Operation Ariel
Google Operation Ariel and you may find your answer.
regards