When you cancel a Trading Pact it is not actually cancelled. You have to wait for the other guild to cancel. Since you can cancel Alliances by only one guild cancelling i'm not sure if it's a bug or intended that cancelling a Trading Pact has to be done by both guilds.