I suppose that's the way the game works because there are games like DDLC that also close your game after the death of a character. i’m also not sure if that’s an ending or a but try to play all over again and make different choices since the beggining!