Unrefrigerated foods can quickly become unsafe to eat. If you have leftover cooked vegetables then cool them and store them in the refrigerator.