The ending is whatever you want it to be. It's left intentionally vague for the player to decide. :-)
I understand, it can be taken both ways indeed.