For HSV-2, CD4+ and CD8+ TRMs are established after initial infection and then play a key role in controlling subsequent recurrences. This evidence concerns the gene CD8A and infection.