If your car is plugged in, and you intentionally turned on the heat (or AC) then it staying on for four hours is perfectly reasonable.
You turned it on, you should turn it off, or wait for the timeout.
If it was not plugged in, then all the more reason for you to pay attention to your power...