What did the elephant-keeper do to the dog?
He sold the dog to an unknown man for a price
It is clearly given in the passage, “Then one day, a man saw the dog and asked the elephant-keeper, “I want to buy this dog. What price do you want for it?” The elephant-keeper didn’t own the dog but sold it”.