Sam thinks about the situation , and realizes that Frodo wants to go to Mordor alone . On their way to Mordor , Frodo and Sam capture Gollum , who has been following them from Moria , and force him to guide them to Mordor .