Anti-immigrant, far-right campaigners were set to hold a rally on Sunday in Ceuta, Spain, demanding the expulsion of all remaining migrants who had entered the Spanish territory from Morocco last week.

Although most of the migrants have returned to Morocco, Ceuta was still grappling with the aftermath of at least 50,000 people, most of whom were young Moroccan men, crossing into it late last week and overwhelming the city of 84,000 residents.

Santiago Abascal, the leader of the far-right Vox party, arrived on Sunday morning after lashing out at the influx and blaming the Spanish government.

“It is an invasion,” Mr. Abascal wrote on social media on Thursday. “And Pedro Sánchez is its chief promoter and is responsible for all its consequences,” he said, referring to Spain’s prime minister. Mr. Abascal added that if the government did not expel the migrants, “Spaniards should.”

On Saturday night, soldiers searched alleys and plazas for young men who were hiding, while small groups on the outskirts of the city made for the hills surrounding Ceuta. A few hundred men from sub-Saharan Africa were holed up on a beach and vowed not to return, even as they were running out of food. In the city center, some businesses cautiously reopened, and families returned to the streets and beaches.