MacBook turning on issue during high humidity

I waited for the sun to come out and dried my MacBook Air in front of fan. Try to keep your laptop in dry conditions. The shutdown might be a safeguard for motherboard.