Whitman+Ques+9

Was "O Captain, My Captain!" written to sadden or cheer people?