What does ‘shaft’ mean?

shaft

( n ) A double-cross. I sent her out to buy a car but she gave me the shaft and skipped with the money.
( v ) To double-cross. I was shafted by best friend!