In January 1862, he assumed duties as a line officer in the Army of the Cumberland in Tennessee and was severely wounded at the April 1862 Battle of Shiloh. He became the colonel of the 25th Maine Infantry and commanded a brigade as part of the 22nd Army Corps in the defenses of Washington, D.C.. He was married that year to Ellen Winslow, a daughter of Edward Fox of Portland.