When you have a certain level of animal kinship you can shoo animals away, so that for a certain duration animals won't come into range or that you just can't select, so if you're mining or harvesting something else they won't bother you. Of course due to animal kinship they understand you're just busy so there's no hard feelings ^^