There are collars and boundary systems you can get, but they will probably cost more than desexing.

It can be so hard with an escaping animal. Sorry the other people are being twats about it.