 He also saw action at Williamsburg, Fair Oaks, Glendale, Malvern Hill and Chantilly.On September 26, 1862, based on a recommendation by General Joseph Hooker, he was appointed Brigadier General of Volunteers, and commanded the 1st Brigade, Abercrombie's Division, Defenses of Washington (later called the XXII Corps), from October 1862 to February 1863, then the 2nd Brigade until the end of March.On March 4, Congress adjourned without approving his commission, and he was relieved of duty on March 30, and returned to Massachusetts.