RA's got the actual experience, I have the armchair fascination with flying.
I don't think I've heard of an incident like this in the jet age, but would be interested to know more.
There have been instances of pilots accidentally shutting down or pulling fire bottles on the wrong engine... Also getting "locked in" on trying to figure out a spurious indication on an otherwise fully functional aircraft and either creating problems in troubleshooting or simply forgetting to fly the plane.