You don’t have to worry. There are physiological responses to pain and trauma that the anesthesiologist can observe, even if you are unconscious. Things as simple as heart rate and respiration all the way up to brain wave monitoring. This is part of the anesthesiologists job.