Green’s Dictionary of Slang

shake up v.

1. to masturbate.

[UK]Farmer & Henley Sl. and Its Analogues.

2. to come up with, to contribute.

Collins Hide and Seek II i n.p.: I can’t shake up along with the rest of you ... I am used to hard lines and a wild country [F&H].
[US]J. London Tramp Diary in Jack London On the Road (1979) 36: A brakeman asked me how much I could ‘shake up.’ ‘Fifteen cents’ was my answer [...] After a long consultation the[y] took my gold ring & left me the fifteen cents.

3. (US) of police, to raid and search an individual and/or their premises.

[US]C. Cooper Jr Scene (1996) 145: When we shook them up [...] a package full of dope magically appeared on the floor outside their door.

4. see shake it up under shake v.