The answer:
To arrest those he considered disloyal
Step-by-step explanation:
During the uprising between Mexicó and Texas. He was on Mexicó side as he leads the soldiers to take over the place.
Hence, General Martín Perfecto de Cos announce that he was going to take a large force to Texas, to arrest those disloyal to Mexicó