Green’s Dictionary of Slang

endacott v.

also cott
[a Constable Endacott who, in 1887, was tried and acquitted for the arrest on these grounds of a respectable dressmaker; the term, poss. coined by Annie Besant (1847–1933), was abbr. to cott]

[late 19C] to arrest on false pretences, spec. those of being a prostitute.