Alternatively, you can head north up Kantipath, take the first left and then, after a bit of zigging and zagging, take the second right to find yourself heading back into Thamel.
You must head south down Kantipath to get back into Thamel.