You are Trixie the pixie. The old wicked witch cast a spell as you had misbehaved and so you find yourself trapped in the forest of enchantment from where you seek your freedom.
Notes
Publication date approximate. Dates to at least as early as 1990, as it's included in the list of "solved games" by a "kind soul" in Your Sinclair in April 1991.