"I came" or "I went" [closed]

Which one is grammatically fine? I was surprised but then having no knowledge about this issue. I came/went back to my city.


If you are in your city right now, you will say,

I came back to my city.

If you are some where else, you will say,

I went back to my city.

But the two could be more or less interchangeable in some contexts.