A flock of sheep ran out of the sheepfold after a man whistled in the forest.