The military defeat of Santa Anna's forces at the Battle of San Jacinto on April 21, 1836 resulted in Santa Anna's capture, and him being forced to order all Mexican forces to withdraw from Texas soil. Urrea was infuriated and, after linking up with Vicente Filisola's forces, he wanted to continue the war against the Texans since the Mexicans still had over 2,500 troops in Texas against less than 900 of Sam Houston's Texans. But both Urrea and Filisola had no choice but to comply with Santa Anna's orders, so by the middle of June, Urrea and all Mexican forces had withdrawn from Texas. The Mexican authorities criticized Filisola for leading the retreat, stripped him of his command, and made Urrea the new commander of the army. Within a few months, Urrea gathered an army of 6,000 troops near Matamoros to finally reconquer Texas. However, the invasion never occurred as he and his troops were redirected to address several federalist rebellions across Mexico.