It's called a curfew, where no one is allowed out after dark, and can be arrested if they leave their homes after dark.

I lived through it in Boca Raton in late October/early November for 13 days in 2005 after Hurricane Wilma tore our city apart and left us without power for 13 days. It took them 6 months to take away all the debris and cut-down trees. And I live in a very nice neighborhood, but after dark ther was no electricity, no street lights, and a lot of property damaged and open to looting.

For people used to assuming racism in every situation, I guess they would see it that way, when asked not to move around when there is limited visibility and plenty of opportunity for looting.
But I see it as trying to establish order after a disaster.