Answer:
The speaker is seeking relief from his grief. The raven is a symbol of death and a reminder of the speaker's grief over his lost Lenore. The speaker spends the rest of the poem trying to escape from that grief, from the literal and figurative shadow of the raven.