The step in the hero's journey that this represents is:
The hero gets a call to action and goes from the known world to an unknown world.
In "Shrek," the ogre is called to leave his familiar swamp (the known world) to rescue the princess in a faraway tower (the unknown world).