 During the battle, Thorin was mortally wounded, but he made his peace with Bilbo before he died.When Thorin died, he was buried with the Arkenstone, and Orcrist was returned and laid upon his tomb.The blade would glow blue should Orcs approach, and they could thus not take the Mountain by surprise.