I would expect that the bots would not have waited in their working through their steps while you had changed your focus to another window. The bots would continue working without your focus, and when you came back they would certainly be on a different step than when you last viewed them.
If you meant something different than this, please provide us with "before" and "after" images that show what you meant.
I then changed the focus to look at your posting. Because I always use "windowed mode" in Autonauts, I could still see the steps that the bot followed while the focus had changed, as shown below.
Although the bot some times needed to wait at the "Find nearest Dung" step until a cow had dumped a dung, it would continue to follow all of the step as long as there was room in the Compost Bin. When there was no room in the Compost Bin, the bot couldn't add the dung and so it would fail several steps. Perhaps that might be similar to what happened with your bot. Since you said "Trying to pick stuff up with a hand that should be empty", maybe you were implying that there was a failure when the hands were not empty. If so, I can understand that the bot would fail there. I would view that as an opportunity to try to find a solution (perhaps using a "Repeat 1 times" loop with the test-for-failure option checked).