if you want to go out the stone form, you've to issue the unit the order to go to its normal form (with a simple "a unit is issued an order > display issued order string" trigger, you'll know the order string)
if you want to avoid the unit going to the stone form, you've just to issue it to "stop"