Green’s Dictionary of Slang

cool v.3

[the chilliness of the corpse]
(US)

1. [1920s+] to beat up.

2. [1920s+] (also put the cool on) to kill, to murder, to assassinate.

3. [1950s+] to die.