Santa Anna ordered the reinstatement of Mendarozqueta as comandante general.