Abstract
A method to operate an electronically controlled internal combustion engine that recognizes when thermal management mode of operation is being applied to an engine but is not attaining desired exhaust temperature for aftertreatment. When the Engine Control System (ECS) recognizes that the engine in operating in thermal management mode in a futile effort, the ECS aborts thermal management mode and returns to normal operating mode.