Ramana Maharishi sure knew how to dissociate his Atman from his physical body. So he did not need any anesthetics during the surgery.