Hi @Efe,
Presumably you’re running into the pilot input failsafe, in which case MAV_STATE_CRITICAL does seem to be the most relevant of the MAV_STATE options.
MAV_STATE_CRITICAL
MAV_STATE