It's a reasonably well understood problem for older people in particular that general anaesthesia can trigger some kind of cognitive decline in some people.
Separately at least in Australia you are given specific advice regarding avoidance of operation of construction machinery, farm machinery and the like.