In collaboration with Moroccan authorities, the US previously managed to schedule 10 other flights to repatriate its stranded citizens despite international travel suspensions.

US Arranges New Evacuation Flight for Nationals Stranded in Morocco
American Airlines