Green’s Dictionary of Slang

sling one’s hook v.

also sling, sling it, take a hook, ...one’s hook, ...the hook, take one’s hook
[? the raising of the anchor (hook) before departure or the SE hook on which a working miner left his day clothes. When he finished his shift he removed his possessions from the hook and left for home]

1. [mid-19C+] to leave.

2. [late 19C–1900s] to die.