Warning, many spoilers of Alice in Wonderland and sequel.
In Tim Burton's Alice in Wonderland Alice has nightmares that are actually memories of her first visit to Wonderland when she was a child. She didn't remember she had actually been to Wonderland until she talked with Absolem in Marmoreal.
So Tim Burton's Alice takes place during her 2nd visit in Wonderland. In that visit, Alice arrives in Wonderland through the rabbit hole (again) and eventually returns to England by drinking the blood of the Jabberwocky.
In Alice through the Looking Glass Alice travels through mirrors between England and Wonderland multiple times.
My question is how did Alice return from Wonderland from her very first visit. I don't remember anymore. What I can recall is that she entered Wonderland through a rabbit hole (just like the 2nd time) and as for her departure I recall the following:
The young Alice unintentionally destroyed the Red Queen's house of cards. The Red Queen got so angry she wanted Alice's head down, she ordered to arrest her. Just as the guards grabbed Alice she managed to escape back to England.
However, I don't remember anymore how the young Alice escaped. Do you know? Thank you.