If I'm away from an airfield and my engine shows signs of misbehaving, the first thing I'll do is climb, the second is fly to the overhead of the nearest alternate. I'll descend only when I can stay in gliding distance of a runway. If the engine stops en-route, then the extra height maximises my options.
G