Have you ever burnt a pan dry around your baby? Are the fumes hazardous?

Just burnt my stainless steel pan dry. Has anyone else ever done this around your baby? Hoping that the fumes were not harmful.