bayonet
n//ˈbeɪənɛt//bajonett
(military) A blade mounted to the end of a long gun, originally with a handle inserted into the bore, now usually attached underbarrel.
(engineering) A pin which plays in and out of holes made to receive it, and which thus serves to engage or disengage parts of the machinery.