If a loss of control led to the activation of the safety system, what system would have executed the final command to destroy the vehicle?

Answer

Automated Flight Termination System (FTS)

In orbital-class rocket testing, deviation from a predicted trajectory frequently triggers the Automated Flight Termination System (FTS), which would execute the final command if the vehicle lost control.

If a loss of control led to the activation of the safety system, what system would have executed the final command to destroy the vehicle?
Elon Muskrocketexplosionlaunch