Green’s Dictionary of Slang

tap (on the shoulder) n.

an arrest.

[UK]Grose Classical Dict. of the Vulgar Tongue.
[UK]Lex. Balatronicum.
[UK]‘Jon Bee’ A Dict. of the Turf, The Ring, The Chase, etc.
Montana Standard (Butte, MO) 3 Sept. 6/1: Harry doesn’t count the years he spent waiting for that tap on the shoulder from the time he went over the wall.
[Can]Vancouver Sun 28 Mar. 19/3-4: The editor of the Pretoria News (Sth Africa) told me: Someday the tap on the shoulder will come for you or your son or daughter. We [i.e. South Africa] are a society ruled by a tap on the shoulder.