How to get your dog out of a trap