Green’s Dictionary of Slang

grub v.4

[cockfighting j. grub, to cut off a cock’s feathers below the wings]

to execute by decapitation.

[UK]M. Stevenson Wits Paraphras’d 146: I too — But hold — I shall be nub’d / Then be it so — / For let me be hang’ d or grub’d.