Offer to buy him back. They are obviously in over their heads and could use the money. Just try to be tactful about it and don't embarrass them or put them down. Sure, they aren't taking care of their animals properly, but job loss can be hard on people and they could just not be thinking correctly.
If you can't buy him back, well, there's nothing that you can do. Live and learn.