Inhibiting YAP during viral infection prevented dysplastic cell formation, whereas inhibiting YAP in persistent KRT5+ cells led to their conversion into distal club cells. Here, KRT5 is linked to viral infectious disease.