http://en.wikipedia.org/wiki/Texas_in_the_American_Civil_War#Collapse_of_Confederate_authority_in_TexasCollapse of Confederate authority in Texas
In the spring of 1865, Texas contained over 60,000 soldiers of the Army of the Trans-Mississippi under Gen. Edmund Kirby Smith. As garrison troops far removed from the main theaters of the war, morale had deteriorated to the point of frequent desertion and thievery. News of Lee's surrender finally reached Texas around April 20, and local Confederate authorities had mixed opinions on their future course of action. Most senior military leaders vowed to press on with the war, including commanding general Kirby Smith. Many soldiers, however, greeted frequent speeches whose theme was "fight on, boys" with derision, or simply failed to attend them.
The month of May brought increasing rates of desertion. News of Joseph E. Johnston's and Richard Taylor's surrenders confirmed that Texas, Louisiana, and Arkansas were now essentially alone to continue the Confederate cause. On May 14, troops in Galveston briefly mutinied, but were persuaded to remain under arms. However, morale continued to sink. Generals John B. Magruder and Kirby Smith (who had already corresponded with Union Maj. Gen. John Pope regarding surrender terms on May 9) no longer sought to rally their demoralized troops, but rather began discussing the distribution of Confederate government property. Magruder pled that the rapid disbanding of the army would prevent depradations by disgruntled soldiers against the civilian population.
The haste to disband the army, combined with the pressing need to protect Confederate property from Union confiscation, created general mayhem. Soldiers began openly pillaging the Galveston quartermasters stores on May 21. Over the next few days, a mob demanded that a government warehouse be opened to them, and soldiers detained and plundered a train. Several hundred civilians sacked the blockade runner Lark when it docked on May 24, and troops sent to pacify the crowd soon joined in the plunder. On May 23, residents in Houston sacked the ordnance building and the clothing bureau. Riots continued in the city until May 26. Both government and private stores were raided extensively in Tyler, Marshall, Huntsville, Gonzales, Hempstead, La Grange, and Brownsville. In Navasota, a powder explosion cost eight lives and flattened twenty buildings. In Austin, the state treasury was raided and $17,000 in gold was stolen. By May 27, half of the original Confederate forces in Texas had deserted or been disbanded, and formal order had disappeared into lawlessness in many areas of Texas.
The formal remnants of Kirby Smith's army had finally disintegrated by the end of May. Upon his arrival in Houston from Shreveport, the general called a court of inquiry to investigate the "causes and manner of the disbandment of the troops in the District of Texas, New Mexico and Arizona." The May 30 findings laid the blame primarily on the civilian population. Kirby Smith addressed his few remaining soldiers and condemned those that had fled for not struggling to the last and leaving him "a commander without an army – a General without troops." On June 2, he formally surrendered what was left of the Army of the Trans-Mississippi.