commands/halt: halt in reverse order [GH-3790]