Quitman led his division to the Valley of Mexico where he was posted to guard the supply depot, hospital and horse teams. Frustrated at his supporting role, Quitman was nevertheless ordered to send reinforcements to the front. At the battles of Contreras and Churubusco, Shields' brigade was actively engaged, though Quitman was not personally involved.