Vomiting white foam can also be caused by illnesses of the digestive tract that need further treatment. Illnesses that can cause vomiting include hepatitis, pancreatitis, diabetes, and kidney disease. If the vomiting persists a few days, even with a bland diet, consult your veterinarian.
Bake the squash for 40-45 minutes. Bake it until it's tender. After 35 minutes, start poking it with a fork to check to see how tender it is. Then, remove the squash from the oven.
Refrigerate cooked spaghetti squash or other types of winter squash in an airtight container or covered in plastic wrap for up to 3 to 5 days. The squash should be refrigerated within 2 hours of cooking to prevent bacteria growth and spoilage.