coming from ireland,
here's how we solved it when it would inevitably happen every few weeks:
open nearest gate, wave arms, close gate
farmers will check surrounding fields and all know each other, cows are tagged too
how many thousands of pounds did this cost? i'd have done it for a pint and the cow'd be fine after