the thing is though, emmas actress said she would be open to coming back for the first episode of next season to give resolution to her character and that they asked her to come back and eventually she said no, so i have a feeling they already filmed it and were gonna have a deus ex this is why emma has to leave first episode next season instead of a good ending for her this one