It has occured, I think there's at least one (I don't recall the name) famous case of someone who went post-op, then decided that they didn't want it, and went back to living as male. I don't recall off the top of my head. I know it's exceedingly rare though.
Pubmed has a few papers on the actual statistics.