Around that time, a change in São Paulo's provincial government brought an inflexible leader who ordered the closing of the hermitage. Galvão accepted the decision, but the recluses refused to leave the premises, and due to popular pressure and the efforts of the Bishop of São Paulo, the hermitage was soon re-opened. Subsequently, with the increasing number of new recluses, more living space was required. It took Galvão 28 years to build the hermitage and church, with the latter being inaugurated on 15 August 1802. In addition to the construction work and duties within and outside his Order, Galvão committed himself to the Recollect's formation. The Statutes he wrote for them was a guide for the interior life and religious discipline.