Sue I've been exactly the same today - decided to eat half a pizza. Didn't need it, just wanted it. Completely pointless and a waste, am surely out of ketosis and it serves me right.
But, we've just got to draw a line under it. Nothing we can do about the past, but I can dictate the future. So...