Most of the 9,207 deserters from the U.S. armed forces did not take up arms against their former comrades but simply disappeared. The desertion rate in the war with Mexico, 8.3 percent, was the highest for any foreign war in United States history—twice as high as that in the Vietnam War. Brutal corporal punishments, doubts about the American cause, and the prejudices of nativist officers all contributed to the desertion problem. Sometimes regular soldiers deserted to join volunteer units, in search of bounties and a more lax discipline.