 He returned to his regiment later that month, but was reassigned to command the 1st Brigade, 2nd Division, VI Corps in September 1864.He commanded that brigade until it was disbanded in May 1865.On January 31, 1865, President Abraham Lincoln nominated Warner for appointment to the grade of brevet brigadier general, Volunteers, to rank from April 1, 1864, "for gallant and meritorious service" at the battle of Spotsylvania Court House, and at the battles of Winchester, Fisher's Hill and Cedar Creek and the United States Senate confirmed the appointment on February 14, 1865.