and he beheld with the sight that was given to him all that had befallen ; and when eomer rode out from the forefront of his battle and stood beside those who lay upon the field , he sighed , and he cast his cloak about him again , and went from the walls .