Learn propofol sandwich and respect the tube.
Start a propofol gtt last 10-30 min before extubation depending on length of case. Shut off gas. Then shut off prop 3-5 min before extubation. They wake up wide awake, little to no bucking.
Here is a key thing I did not know as a junior resident... People buck cause the tube irritated their trachea. 99% of the time this happens because the tube moved in the trachea, even millimeters. This can happen when hitting the tube when you suction, shaking them to wake up, adjusting the circuit, scrub tech hitting the circuit with their elbow, changing bed positions, ect.
If you want limited to no bucking, propofol at the end and let sleeping dog lie. Dont touch the tube, dont irritate the patient. Let them wake up by themselves. Say their name, eyes will open and you pull tube. With experience, you can time this perfectly.