disappears and...The subject marked by が disappears, vanishes, or goes out. 消えて is the て-form of 消える and connects to what follows; with lights or fires, it commonly means “goes out.”
JA: 電気が消えて、部屋が真っ暗になった。
EN: The lights went out, and the room became completely dark.