You can be too immobilized to make a suicide plan. For that reason, a decrease in the symptoms of depression can increase the risk of suicidal thoughts or actions.
Antidepressants are known to do this, as odd as it may sound, if someone becomes more capable but their thinking doesn't shift then they may still feel trapped but with the potential of escape (by CTB).