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