What did I press?

I think i pressed a shortcut but i don’t know witch:

Now when i move an object at the x and y axes with “G” then “Shift”+“Z” and i move the mouse,
the object goes really fast into infinity and snaps back from the other side and slows down immediately.
This never happened before…

Can someone help?

Maybe you activated some type of Snapping