There's a military record on FindMyPast for a John Barclay, Leeds, which includes desertion from the West Yorkshire Regt. One document, largely illegible, dated 1 Jun 1890 includes the words "surrende ..... at Merthyr ......".
However, this John Barclay was born 1870