Here, using an immunogenic lung cancer model, we also demonstrate that adaptive immunity is essential for prevention of relapse and generation of immune memory upon inhibition of KRAS and/or SHP2, highlighting the importance of adaptive immunity in generating long-term anti-tumour responses. Here, KRAS is linked to neoplasm.