Pineda was eventually captured .
The Mexican army under Cota finally defeated at Todos Santos but only after the peace treaty that ended the war returned the captured regions south of Alta California to Mexico .
Pineda was eventually captured and the Mexican army under Cota finally defeated at Todos Santos but only after the peace treaty that ended the war returned the captured regions south of Alta California to Mexico .