While it's possible there's a deeper, more ancient origin, "yank" is considered an onomatopoeic word - a word that imitates the sound it describes. Think of the sharp, sudden pulling motion it signifies!
So, "yank" is a word that's primarily built on its own sound and meaning, rather than being derived from another word.