The trick to reaching the end is to take the secret passage, which begins just underneath and to the left of the "?" signpost, and then continues to the right inside the cave to the North. It weaves to the left and right, which requires a little bit of blind navigation. Wearing a ring which provides light, such as the Glow ring, will allow you to track your movement more easily. You will exit down into the treasure section of the maze.
A golden pumpkin is given as a reward for finishing the maze. It has no purpose other than to sell, and it's worth can be given as a [[Friendship#Universal Loves|universally loved gift]] or sold for {{Price|2500}}.
[[File:Winning Golden Pumpkin.png|300px]]