Returning to the house of Vilar de Ossos there, he was retired until, summoned by the patriotic voice of Sepulveda in June 1808, he was appointed acting interim commander of the Douro district troops, an appointment confirmed by the government board established in Porto.