The civil war had been won. The United States of America remain a single nation, the vileness of slavery was a thing of the past (at least by law), and the nation was saved.
But the president, Abraham Lincoln, who led the north to victory and who was the architect of it all, was assassinated.
In response, the American poet Walt Whitman wrote the following poem, shortly thereafter.
O Captain! my Captain! our fearful trip is done;
The ship has weather'd every rack, the prize we sought is won;
The port is near, the bells I hear, the people all exulting,
While follow eyes the steady keel, the vessel grim and daring:
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;
Rise up - for you the flag is flung - for you the bugle trills;
For you bouquets and ribbon'd wreaths - for you the shores a-crowding;
For you they call, the swaying mass, their eager faces turning;
Here Captain! dear father!
This arm beneath your head!
It is some dream that on the deck,
You've fallen cold and dead.
My Captain does not answer, his lips are pale and still;
My father does not feel my arm, he has no pulse nor will;
The ship is anchor'd safe and sound, its voyage closed and done;
From fearful trip, the victor ship, comes in with object won:
Exult, O shores, and ring, O bells!
But I, with mournful tread,
Walk the deck my Captain lies,
Fallen cold and dead.
(Walt Whitman, 1865)