I doubt he forgot why he pulled you over, the reason was purely a ruse to shake you down for guns.
It was probably not worth his while, nor did he ever intend, to write you up for the traffic violation. It just made the stop legal.
I'd certainly make a complaint to the department about this.
What do you hope to get out of further legal action?

