In various Robin Hood stories:
* He is often killed by the Sheriff of Nottingham (though the exact details vary).
* He is sometimes depicted as dying peacefully in his sleep after a long and fulfilling life.
* Other versions of the story feature different villains or different causes of death.
As Robin Hood is a fictional character, there is no definitive answer to your question.