Spontaneous thought, reasonable thinking is a kind of realization; that’s why the mind calms down.
But if you try to fix it by thinking about it, then there will be a conflict – the real mind still doesn’t want to let go and you’re trying to impose a ‘right’ thought.
It is better to be aware and watch craving and wholesome mind argue. If you’re aware, slowly wholesome mind can win.
Awareness always supports wholesome minds, wholesome states. When you continue to be aware, slowly wholesome mind replaces defilements; but if you lose awareness, then unwholesome mind increases.