ref
late Middle English: probably of Low German origin; compare with Dutch dialect peg ‘plug, peg’. The verb dates from the mid 16th century.