Most bacteria need three things to multiply: time, temperture, and moisture. You managed to provide all three. If it smells bad that's a good indication that the bacteria is enjoying the meat.
Next time put it in the refrigerator to cool, AND DON'T LEAVE IT IN WATER!
Dave