Spoilers:
I think it's from choosing the same options that would get you into the Cedric route but not calling him. If you try to stay then Cedric makes you come out with him and then the ending proceeds as normal for the Leave option.