Question: when was the poem o captain my captain written
Answer: `` O Captain ! My Captain ! '' is an extended metaphor poem written in 1865 by Walt Whitman , about the death of American president Abraham Lincoln .