Gollum leads the hobbits into Cirith Ungol in the Mountains of Shadow , but leaves the hobbits there alone . They are hunted by Shelob , a giant spider living in these tunnels . Gollum betrays Frodo by leading him to the great spider Shelob in the tunnels of Cirith Ungol .