One evening , however , while they all sat dull and down-hearted , in came Hermod with a sword by his side , and saluted the King , who received him with the greatest joy , as if he had come back from the dead .