Gold Contribution to Guild - Server error

I tried to contribute 25,000, 2 different times, and kept getting server error messages. It said no money was taken from my account. On one of the last errors popping up had a quit option which I took. It logged me out and when I logged back in the 50,000 was gone from my account, contrary to the error messages saying nothing was withdrawn