see description in comment 7 of #4523: It may happen that an order arrived just at the same turn as the unit is garrisoned, and once garrisoned, units are not supposed to receive any order except Ungarrison if not turret. This may lead to infinite loop as is described in the ticket, with the given commands.txt file. The simplest is to just forget about such orders which are very unlikely