Yes.

At times the cycling can shake off a mood or state of mind and at other times no amount of cycling can help.

One thing about a poor state of mind, beware, accidents can happen more readily when we can't concentrate fully on where we are at the moment.