Pathogen dynamics during invasion and establishment of white-nose syndrome explain mechanisms of host persistence.