Ran into this while watching a replay, I'm guessing it's because the commander started too close to a trench, he was unable to move.