The ending was just, well, deserved