His last thoughts were for Fredo and Sam, who might, with a bit of luck, reach Mordor. They would no longer need his help then. Legolas, on the other hand, would probably never want to see him again...