The light he switched off was the lighthouse lamp. In the morning he saw the wreck on the rocks.