On 16 June 1864, he was again wounded while leading his brigade in the first assault upon the works at Petersburg. Returning to duty before his wound was fairly healed, he rode to the battlefield of Ream's Station in an ambulance, and had scarcely reached the front and assumed command at the advanced line when his right leg was shattered by a rifle ball. Amputation of the right leg followed, and, although his life was saved, the 26-year-old was no longer capable of active military service. He was brevetted brigadier general of volunteers, 10 November 1864, and mustered out of service at his own request on 22 December of that year, refusing to remain in the army on light duty as he was urged to do. He repeatedly declined promotion that would have taken him away from his own regiment, feeling bound to remain with the men whom he had enlisted.