One of the main Ethereum code-contracts, the DAO (
https://en.wikipedia.org/wiki/The_DAO_(organization) ) had a bug in its code, and someone exploited that bug to extract the value from it. Rather than accept that as consistent with their view of "the code is the contract", the Ethereum developers hard-forked the currency to reverse that result and give everyone their money back.