If you have enough mana as a hunter to cast Revive Pet (not dismiss pet), when your pet is still alive, it will display the error "Your pet is not dead" , but your pet will immediately vanish with no hit to their "happiness level".
This is an easy way to dismiss your pet without having him decrease in happiness, and having to feed him again.