Depending on the age of the guitar, if condensation built up then rusted on an effects loop (if the amp has one) or perhaps on one of the connections, it might cause it to cut out. I had a Marshall that did this to me. Good luck.
wormtownhero, August 2009