I can not say what was his intent but since human nature is the same now as it was than, it may be a parable. Odysseus was a worrier and constantly fighting to set things right. A worrier has to be against something and he will risk his life for what he perceives to be a better way. Worriers are destined to be unhappy since the world will never be perfect. When Odysseus is set in a life style where he is totally happy, his old values question this.
Values are slow to change.
Calypso makes every effort to discourage him from leaving. For years Odysseus has fought an inner battle of having everything he wants, when he already has everything he needs. Calypso could not make him overcome his desire to return home. When Zeus, asked her, she finally released Odysseus. Calypso gave him materials to build a raft, provisions and instructions of the way of the sea, to leave the island.