The AI is playing as the person. It will leave your coalition and very likely attack you soon after with hordes of play created units. Be prepared!
Unfortunately on the diplomacy screen you wont see what players turned into AI. But there is a note in the news paper.