The Pilot (also known as Danger in the Skies) is a 1980 American action-drama film by director and star Cliff Robertson and is based on the novel of the same name by Robert P. Davis.
The film opens as he awakens hungover and begins the day with a stiff drink and an argument with his shrewish wife.
However, a stewardess and Hagan's co-pilot begin to suspect trouble when they notice him continually going to the lavatory with a cup.
After a harrowing flight in which Hagan makes an emergency landing, almost running out of fuel, his co-pilot refuses to fly with him again.
The film ends as Hagan narrowly averts disaster as the plane's engines catch fire during takeoff.