The correct interpretation of the lines is:
The speaker does not want to believe that the captain is truly dead.
This is evident in the expression of disbelief conveyed by phrases like "It is some dream" and the tender imagery of supporting the captain's head. The speaker is clearly in a state of shock and grappling with the reality of the captain’s death.