If you cook cheesecake and forget to put it in the refrigerator overnight?

Cheesecake left unrefrigerated overnight should not be consumed. Cheesecake contains dairy products like cream cheese and eggs, which are highly perishable and can easily become a breeding ground for harmful bacteria if not properly refrigerated.

Consuming cheesecake that has been left unrefrigerated for an extended period can lead to foodborne illness, causing symptoms such as stomach ache, nausea, vomiting, and diarrhoea. If you're unsure whether the cheesecake was adequately refrigerated, it's best to err on the side of caution and discard it to avoid potential health risks.