There are only three ways you can be removed from an instance when you're logged out: Getting dismissed, the instance timing out, or the game automatically kicking you if you're gone for 10 minutes (at least I think it was 10 minutes)