Close the magician's eyes with your finger and you'll be able to do whatever you want. Make the hat disappear.