There is a door. That is genuinely the whole answer.
Players get disoriented in Golem Tower because the interior is deliberately maze-like and the exit is not signposted, so it is easy to assume you are trapped. Look for the doorway and walk through it.
If you are stuck on a specific floor rather than the tower itself, mentioning which one usually gets a more precise answer — the layout is not identical throughout.