As one would expect.
However unless a specific request is made would the information that you have travelled, whether by land, air, sea or rail, to any of a no. of neighbouring (or even far flung) countries after being in your original destination country, be passed back to the UK that quickly if at all?