I would like to give an example for it from my professional setting:
There is an ice-making machine outside my lab on top of which lies a scoop. Now, when I go there to fetch some ice, I use the scoop to put some ice in the bucket and somehow, I take the scoop along with me back to my bench, everytime which forces me to go back to the particular place again to put it back.
It becomes a comical situation at work. I am sure there would be other such commonly occurring instances in every scenario, maybe in a different way and with different things. Is there any particular word to call this action?