Melatonin is more likely to be secreted when your body temperature is not hot. Some people report that their sleep quality increases when they take a cold shower.