it's controlled by a wall switch and you turned off the switch. the receptacle is old and worn and no longer making a good connection to the plug. The main symptom of this would be the plug being loose in the socket; it's unlikely to happen suddenly so you might have noticed it beforehand.