Maybe you really needed the dome light. Same as in this case.

The far more likely scenario is that you forgot. Just because it's useful in strained, rare scenarios to have a hole in your foot doesn't mean it's not a better design choice to add a safety to prevent a device from shooting itself in the foot.

How many situations could you imagine that keeping a dome light on is more important than being able to start the vehicle the dome light resides in?

I have never met anyone who preferred to keep the dome light on all night even at the expense of being able to start the car the next day.

Similarly, I can't think of a use case for preferring that processes keep running all night on a closed, unplugged laptop until the battery dies at which point they all halt anyway. But if someone needs this behavior I suppose there could be an option for it.