I have tried moving out of the city traveling all day to find my self in another city Square an I can not seem to travel anywhere but back the way I came. I not sure if its a bug or something I am doing wrong.
Are you using the city/terrain movement map at the bottom to move? What errors are being shown if any? Swamp isn't a terrain that is restricted from moving on like ocean is for some races that I am aware of.
“5/ Moving from one City/Terrain Grid to an adjacent one
Ships, vehicles and characters can travel between city squares using cross terrain. In order to cross terrain, the ship, vehicle or character must be within the border region. You may only cross terrain to the adjacent terrain tile as you are on the border of.”
If you are on the left center border of 3,5 - the only square you will have the option of going to would normally be 2,5 because it is adjacent to the edge. To go to a different square, go to the top, bottom, or right border, or the corners to get the diagonal options as well. Standing in the middle of an edge will only flip you between those two squares.