ref
can + not
cannot (v.)
c. 1400, from can (v.1) + not. Old English expressed the notion by ne cunnan. The typical representation of the Scottish pronunciation is canna.