One particular aspect of Whitman's autobiography is found in his work, Drum-Taps. This section of Leaves of Grass relates some of Whitman's experiences in the war.
During the war, Whitman worked as a journalist and volunteer, spending time with soldiers.
He participated in the war by ministering to the wounded, writing accounts for the New York and Brooklyn newspapers, and composing his Drum-Taps poems, which he printed in 1865.
The poems of this collection express the honors and the horrors of war. Whitman's personal experiences are fused with a larger sense of the American views on the war, its nature, necessity and suffering.
He writes of his experiences watching men die, in particular. These experiences and this collection of poems preceded the book of poems celebrating Abraham Lincoln after his death.
It is in Drum-Taps, however, that Whitman's autobiography is more clearly on display, relating his personal opinions, personal experiences, and making his real person a character in the poetry.