Green’s Dictionary of Slang

gaff v.4

[gaff n.2 ]

1. (US tramp) to stay where one is for too long.

[US] ‘Jargon of the Und.’ in DN V 447: Gaff, To stay at a place longer than is customary with tramps. ‘You been gaffin’ on that job like you was a gay cat.’.
[US]Irwin Amer. Tramp and Und. Sl. 82: Gaff— [...] To remain in any one place for too long a time.

2. (US tramp) to punish.

[US]Irwin Amer. Tramp and Und. Sl. 82: Gaff—To punish.

3. to be caught in the act.

[US](con. 1943) A. Myrer Big War 131: You were gaffed.

4. (US campus) see stand the gaff under gaff n.2