Trains were cancelled and Theatre Royal Wakefield was closed after a power cut on Saturday evening.
Theatre goers had to be turned away as a sold-out production of The Full Monty was called off after the incident near Westgate railway station.
Trains could not stop at Westgate from around 5.30pm after the station fell into darkness due to the power cut.
Bus replacement services were in place until the following morning.
The pavement outside the Black Horse pub was dug up as a precaution because the electrical fault was near a gas main.