Technically, we're talking about cows. How long would any cow survive in the wild? They're much too docile to be fit for survival in the wild, unless I'm terribly mistaken. There are reasons for why lone wolves can get into enclosures and maul several cows to death without getting so much as a scratch.
And either way, what makes you think that a rabid human, who is without a doubt more intelligent than a rabid dog, would react in the same way? And even then, it should be possible to scare rabid dogs away. Sure, it might take something like surrounding an enclosure with pyres, but I would speculate that it is possible.