I managed to get into Cahbaet through the back door and liberate it before I went to Treomar to visit the library. This means that when I took the secret path into town again, the commander wasn't there to greet me.
The problem is that I can no longer use the teleport spells. Since the teleport spells were locked out during the journey from the monastery to the dwarf city, it would seem that they only re-enable when you do the Cahbaet liberation. Thus, already having completed the liberation, I no longer have a way to have them re-enabled.
Any help would be dandy. I certainly do not want to walk everywhere for the rest of the game.