AI forced me to surrender and took byblos, my last city but after the pop up message I could continue the game and I got my city back.