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]

to arrest on false pretences, spec. those of being a prostitute.

[UK]Leeds Times 4 July 4/5: ANOTHER CASS CASE. Another young woman has been ‘Endacotted,’ this time at Aldershot. Compared with this one the Cass case sinks into absolute insignificance.
[UK] (ref. to 1887) in J. Ware Passing Eng. of the Victorian Era 123/1: Endacotted (Socialist, 1887) Illegally arrested [...] After a time the term was reduced to ‘cotted’.