During Gion Matsuri, Yasaka’s deities are ritually carried into the city in three portable shrines called mikoshi. They leave on July 17 and return a week later; the ritual includes prayers against epidemics.