You have a couple of options that have already been mentioned - 1) load and take the cow back to its owner or 2) call the county sheriff or livestock officer and have them come get the cow. The owner can deal with them to get her back. If you sell her ( even to recoop your out of pocket expenses), it may be seen as rustling or stealing.