The way they managed to make both their suffering and on Heiner's part his harm happen and then still make us want the happy ending for them both (whether together or separate) really shows the incredible writing behind this. Just really really good, peak
I don't know if they're actually dead or if she gave them the same medicine Shi Sui took when she escaped the palace (the fake death drug)