He was seriously ill during the filming of James Bond 007 - Leben und sterben lassen (1973), causing the producers to consider replacing him with Kenneth More. However Lee recovered sufficiently to play the character M until James Bond 007 - Moonraker - Streng geheim (1979), the last Bond film made before his death from stomach cancer in 1981.