Anesthesia isn't the problem.
My first eye surgery, the guy administering it was a Grade-A jerk.
But at least he listened when I told him I have a massively huge tolerance to it. He cranked that sucker up and gave me the absolute legal limit allowable.
2nd eye surgery about two years later on the other eye. Same hospital and surgeon. Sadly, the jerk was replaced by a lovely young woman who insisted she had this in the bag. I woke up minutes before I was supposed to. Still on the operating table. Surgeon was not happy. Neither was I. Would rather have a jerk than someone who thinks they're a precise math wizard. Only reason I didn't sue was my utter gratitude to the surgeon for now twice having saved my eyes.
Anesthesia is a weird thing.
The four components of general anesthesia (amnesia, unconsciousness, analgesia, and immobility) don't necessarily equate on the same level.
An example, you can have a paralytic on board and still cough (even though coughing requires skeletal muscles).
If you woke up the unconsciousness and amnesia were at the correct levels.
But all that said, glad your surgeon was on the ball!!