 Most of the members accepted this on May 4, but Gil did not.He turned in his resignation a few days later.After the Battle of Bailén (July 18–22, 1808), in which the French were defeated and forced to withdraw from Madrid, Gil de Taboada was again sworn in as a member of a governing junta, this time the "Junta Suprema Central".