A casual, dismissive exclamation meaning to drop the subject entirely and stop thinking about it, as a way of saying the matter isn't worth another word.
I asked if he'd ever pay me back the forty bucks, and he just waved his hand and said, foggetaboutit.