from memory beta:
"The Enterprise-A is ordered to be decommissioned by Admiral Androvar Drake and is scheduled to be destroyed in a live fire exercise. However, the government of Chal requests that they be given the Enterprise to use in their system defense forces. When Chal's population takes control of the vessel, they retrofit the ship with disruptors. Retired Captain James T. Kirk is appointed commanding officer of the vessel, which is renamed Enterprise (without a registry or registry prefix) as it makes way for Chal. The Enterprise is then destroyed over planet Chal by Admiral Drake in an act of revenge against Kirk. (TOS novel: The Ashes of Eden)"
Apologies if thats been posted already, not read the whole thread I admit.