Afterwards, he participated in the Battle of Chancellorsville, the Second Battle of Rappahannock Station, the Battle of Mine Run and the Battle of Gettysburg before being taken prisoner during the Battle of the Wilderness. Hobart was eventually released, and he later left the Army with the rank of lieutenant colonel.