A revealing portrait of Grant during the last year and a half of the war helps untangle the enigma of this remarkable Union soldier.