Hi, I ever had a similar experience. In fact I had on 3 occasions when the pup went silent.
The first time, it was the 5-way that was faulty. Just change the 5-switch or if you are adventurous, try to ply it open and make sure all the contacts are good.
The second time, it was the wiring problem. It was my very first time changing pup on guitar. I thought I did a very neat job but after close to a year, it just went silent abruptly, and upon investigation, I realised the problem lies with poor soldering. So just rewire it and it should be fine again.
On the third time, it was the pup prob. Somehow, I realised that there was a drastic reduction in output on one of the pup. The drop was so drastic that the sound was bearly audible even when my 30W amp is close to max volume. Upon investigation, I realise that the live and ground wire of the pup were not in contact, meaning that the winding was faulty. Hard luck, I could not do anything about faulty pup so just buy another and change the pup.
Hope that helps.