Bit of an overreaction.
Unplug it, Take it apart, remove the nails, put it together, try it out.
If they got to the point of turning it off, rather than it turning off on its own, it’s likely fine, and the smell could have been from a few different things. No indication that anything popped.
Yep. I missed the “it went off”
Disregard.