Aww, try not to be so hard on yourself. A loud noise will startle a hamster, but pikachu will forgive you soon enough. My Margo is fully tamed, but she had a bit of a fright just a few night ago, when I accidentally dropped a book on the mesh lid of her tank. It made a big racket and she ran and hid for a couple hours. When she came out she got an extra yogurt drop for her ordeal, but she was still as friendly as ever x3
It happens to the best of us, but I promise Pikachu won't hate you because of it.