From Longman Dictionary of Contemporary EnglishI wasn’t thinkingI wasn’t thinking (also I didn’t think)SORRY/APOLOGIZE used as a way of saying you are sorry because you have upset someoneSorry, I shouldn’t have said that. I wasn’t thinking. →think
Examples from the Corpus
I wasn’t thinking• Sorry, I wasn't thinking. Do you want a cup too?