I recently finished the quest for rescuing Cain. After words I ported back to town, and logged out before turning in the quest. When I logged in I was in the dungeon again, where I was when the script with Cain started after rescuing him.