I never got stuck, just didn't know where to go. After the puzzle the gate openend, I remember, then went through I think, explored further and opened the rainbow coloured chest, then took the route back... I must have missed an exit then somewhere :)