I don't really understand the ending. Turning the simulation off could in a way be the morally right decision. Depends on how you think about suffering in the simulation. Some will suffer and what about them? That's why I think it's better to shut off the simulation.