A dog ran out of the sheepfold and crouched at the feet of a man who spoke and reached out to touch the dog's head.