I suppose it is a bug when a scout loses sheep following him. It happened to me in a skirmish game against AI. He was going on shift-right-click command, I was not looking at this part of the map at the moment. It seems sheep stopped for a while because of rocks and lost track of the scout.
I would send you the replay if I knew how. Here are some screenshots from the replay.