A United States officer returned him to Munich, where he resumed his duties at St. Michael's Church. Mayer died on his feet on 1 November 1945 of a stroke, while he was celebrating 8:00 AM Mass, on the feast of All Saints' Day in St. Michael's in Munich. Accompanied by thousands of mourners, Mayer was first buried at the Jesuitenfriedhof in Pullach. Due to the steady stream of pilgrims, his remains were moved to Munich in 1948 and were reburied in the Unterkirche of the Bürgersaalkirche.