On March 3, 1847, Cadwalader was appointed brigadier general and took command of a brigade of reinforcements being sent to Winfield Scott in central Mexico.
Cadwalader was an original member of the Aztec Club of 1847 and was honorably discharged from the Army on July 20, 1848.