Walt Whitman wrote this poem after the assassination of President Abraham Lincoln in 1865, just as the Civil War was coming to an end. Like his fellow countrymen, Whitman had deep love and respect for the beloved hero who held the nation together through such a time of crisis.00000O CAPTAIN! my Captain! our fearful trip is done; The ship has weather'd every rack, the prize we sought is won;00000The port is near, the bells I hear, the people all exulting, 0000While follow eyes the steady keel, the vessel grim and daring:5 But O heart! heart! heart! O the bleeding drops of red, Where on the deck my Captain lies, Fallen cold and dead. O Captain! my Captain! rise up and hear the bells;10 Rise up–for you the flag is flung–for you the bugle trills;00000For you bouquets and ribbon'd wreaths–for you the shores a–crowding;00000For you they call, the swaying mass, their eager faces turning;00000 Here Captain! dear father! This arm beneath your head;15 It is some dream that on the deck, You've fallen cold and dead.00000My Captain does not answer, his lips are pale and still;00000My father does not feel my arm, he has no pulse nor will;00000The ship is anchor'd safe and sound, its voyage closed and done;20 From fearful trip the victor ship comes in with object won;00000 Exult, O shores, and ring, O bells!00000 But I, with mournful tread, Walk the deck my Captain lies,00000 Fallen cold and dead.

What is the poet's purpose in contrasting the celebratory atmosphere of the shores and the speaker's mournful demeanor in the last stanza?%0D%0A%0D%0AA. %0D%0ATo emphasize the speaker's relief at the safe return of the ship%0D%0A%0D%0AB. %0D%0ATo highlight the ship's victorious journey and its impact on the crew%0D%0A%0D%0AC. %0D%0ATo underscore the captain's heroic actions during the trip%0D%0A%0D%0AD. %0D%0ATo evoke a sense of bittersweet emotion and the personal loss experienced by the speaker

D. To evoke a sense of bittersweet emotion and the personal loss experienced by the speaker