#HalachaYomi OC 278:1 One is allowed to extinguish a candle on Shabat in order to allow a dangerously ill patient to sleep.