I think the ending was intended to point out that there was something to think about, namely whether or notthe main character ended up back with his real family, or whether he chose to be in his own virtual level of choice
The writer is on the record that he's back in reality but beyond worrying about it.