US citizens wishing to leave Morocco for the US can get on flights but need to reimburse the US government.

COVID-19; US Arranges Special Flights for its Worried Tourists in Morocco
American Airline