Yes, it is perfectly safe to leave your refrigerator on when you're gone for a few hours. In fact, it is recommended to keep your refrigerator running continuously to maintain the desired temperature and keep your food safe.
Refrigerators are designed to be left on 24/7, and they are built to handle continuous operation. Turning off the refrigerator for a few hours will not provide any significant energy savings, and it may lead to potential food spoilage or bacterial growth, especially if the refrigerator warms up significantly during that time.
The main purpose of a refrigerator is to keep perishable items cold and safe to consume. When the refrigerator is running, it maintains a consistent temperature, slowing down the growth of bacteria and helping to preserve the quality of the food stored inside.
So, whether you're leaving for a few hours or even a few days, it is best to leave your refrigerator on to ensure your food remains fresh and safe to eat. Additionally, refrigerators are relatively energy-efficient appliances, and their energy consumption is generally much lower than other household devices, making it practical to keep them running continuously.