From 1862 to 1865 Whitman worked as a volunteer hospital nurse in Washington. His poetry of the Civil War, Drum-Taps (1865), reissued with Sequel to Drum Taps (1865–66), included his two poems about Abraham Lincoln, "When Lilacs Last in the Dooryard Bloom'd," considered one of the finest elegies in the English language, and the much-recited "O Captain! My Captain!" For a while Whitman served as a clerk in the Dept. of the Interior, but he was discharged because Leaves of Grass was considered an immoral book.
In 1873 Whitman suffered a paralytic stroke and afterward lived in a semi-invalid state. His prose collection Democratic Vistas had appeared in 1871, and his last long poem, "Passage to India," was published in the 1871 edition of Leaves of Grass. From 1884 until his death he lived in Camden, N.J., where he continued to write and to revise his earlier work. His last book, November Boughs, appeared in 1888.