Odysseus was stuck on island for 7 years. Odysseus tried to leave the island many,many times but wasn't successful.
Telemachus set sail to find his Odysseus, on the island. On his way to the island Odysseus tried many times to leave the island but every time he would try to leave, Poseidon would break his raft and send him back to the island.
After 7 years on the island and after so many failed times of trying to leave the island Odysseus was allowed to leave, but now all he has to do is make it home in time so he Telemachus' mother doesn't marry one of the suitors.