On the off-chance that it’s not the electrical outlet but rather a burnt-out light bulb that is the problem, plug something else into the same outlet, such as a blow dryer or a cell phone charger.
The Fire Department says Christmas trees should be placed at least 2 feet from outlets and be monitored for dryness.