Green’s Dictionary of Slang

shop v.1

[presumably shop n.1 (2) although this verb appears to predate]

1. [late 16C+] (UK Und., also shop up) to imprison; often as past participle, shopped, imprisoned, shopping, imprisonment.

2. [mid-19C+] to inform on and thus cause to be imprisoned, or in trouble; to denounce.