The "Restore" button is a feature on your animal list. If you have an animal with the status "Sold" then it's possible to restore the animal back into to your collection.

This feature is useful for when a sale doesn't go through and you have already marked the animal as sold.