Not perhaps in your instance but if you are caught in a similar circumstance and have a dog, the cows still have their instincts that dogs are wolfs and see them as predators. If your dog is on a lead release it and move in the opposite direction. your dog will comfortably outrun the cows but hopefully giving you the time to escape. Cows are genuinely just inquisitive and will not harm you. however if they feel threaten will surround you. making yourself look big such as arms out wide will deter them the same way as controlling geese etc. Also turning your back on them (if you're brave enough) and walking away is likely to cause them to lose interest in you. Stand still and they only become more inquisitive. Being bullish (pun intended) in the best way. If you see most farmers they effectively walk in an authoritative way around life stock. Most injuries caused to joe public in fields of cows are when they have dogs.