Like Dorian said give it plenty of time to dry out. Wouldn't try to restart it for a while. If you have a garage I would recommend hiring a de humidifier and stick it in with the car.
Also might be worth getting the engine properly checked out for any water infiltration. Check the air filter to see if its wet. Guide here how to get to it.
http://www.350z-uk.com/forum/viewtopic.php?t=2387
Like everybody else, fingers and toes crossed that its just damp electrics