Odysseus and his men went into the cyclops' cave Polyphemus. But then Polyphemus moved the bolder in the cave causing Odysseus and his men trapped in.
Odysseus and his men were trapped inside so they came up with a plan to light the end of his staff on fire and then when he lets his sheep out they can escape. They rode the under of the sheep and he felt the tops of them as they rode out.
Odysseus and his men escaped to the ship and sailed off. Odysseus was chanting I am the great Odysseus defeated Polyphemus son of Poseidon.