Vaseline and a pliers.
Or is that the bot fly?
A lot of flying insects will take off and fly if their head is cut off - typically only in a straight line though. My grandfather used to pull the heads off the grasshoppers in our yard whenever he came around - they'd fly straight and even gain altitude if they came head onto a wall, and then fly over the top and then straight.
This wasp even tops that:
https://www.youtube.com/watch?v=_LmdmltW-XU