Is there a verb for "doing the wrong thing by force of habit"

There is an idiom used in the US on autopilot (or on automatic pilot) meaning

you do something without thinking about what you are doing, usually because you have done it many times before: By the second week of the election campaign she was making all her speeches on automatic pilot.

While not a verb in itself, you could say

I was on autopilot.


Depending on the context, you could say you were "acting by reflex" as in the automatic reflexes our bodies make (eg. knee-jerk). "Reflexing" comes to mind, but that's non-standard and awkward-sounding.

"Sorry, knee-jerk" is a phrase I could see myself adopting.