I did the same in my mom’s kitchen. I was cooking a mixture of sugar and salt peter on the stove so I could pour the melted caramelized mixture into a small cardboard tube for a rocket fuel test. The burner got too hot and it ignited. Fortunately, it only spewed out a white cloud that had no scent. I opened up the kitchen window and the cloud dispersed before my mom came home from shopping.
You’re lucky you didn’t burn the house down................