Haven't read the books this is based on, but I've seen that the series to include the finale follow the books very very closely. The end is left sorta open for the readers/viewers to interpret the ending. But, seems to me that all along he wanted to return to England and that he was dreaming...