You know those kind of endings in movies are the absolutley biggest turn offs EVER, and I was hoping it wouldn't come to that, but it did.
But after the end I thought about it for a while, and came to the conclusion that he didn't imagine anything of what happened. They were trying to portray something else with that imo.