You are free to explore the city as much as you want. However, you will not be allowed to leave the city.
If you ever get stuck while exploring, you can always use the /stuck command to escape to a safe point.
Once you make some gold you can purchase shardstones to warp around to set locations.
You can also find warp pipes to common destinations in the sewers under the Market.