Bound spells go to the discard pile if the object is destroyed, but back to your spellbook if you swap out the spell or wand yourself.