What would he tell us if he had time? Would it be the story of what happened with those pirates? I hope it’s the story of what happened with those pirates.
It could also simply be the story we’ve all just watched about the ghost and the play and so on – depending on who the you is. It could be where the treasure is buried.
It could be a joke he’s just remembered and then realized might not be exactly what he wants his last words to be.