Definition of parting shot:
(n) :
an
insult or barbed comment issued as the speaker departs or the conversation comes to an end
"2007. "Gold Coast Deputy Mayor David Power took a parting shot at the Crime and Misconduct Commission and his council enemies as he announced his bombshell resignation today." "Power's parting shot at enemies", Greg Stolz, the Courier-Mail ."