From the 《
三国志》: when
董卓 offered peace through a marriage alliance,
孙坚 refused, vowing that unless Dong Zhuo's whole clan was wiped out he would die with his eyes open. It is still most often a vow: "I won't rest until...". Compare
瞑目, to close one's eyes in death, at peace.