What kind of life attitude can you read from Su Shi's poems that were demoted to Huangzhou because of Wutai poetry case, and explain the reasons?

From Bianjing to Huangzhou, from a court official admired by everyone to a relegated official with livelihood problems, Su Shi has a great gap in his heart.

We can guess Su Shi's inner helplessness and loneliness. Another lonely night, Su Shi looked at the moon and wrote a bleak poem, which is Su Shi's famous work-"Bu Operator, Living in Dinghui Garden in Huangzhou";

The curved hook moon hangs on the sparse buttonwood; In the dead of night, the water from the water clock has been dripping.

Who saw you alone, Hong Ying.

At night, it suddenly becomes afraid, suddenly flies and comes back frequently, but no one always understands its infinite inner feelings.

It kept wandering among the cold branches, but refused to perch on any tree, and finally landed alone on the cold shoal.

The curved hook moon hangs on the sparse buttonwood; In the dead of night, the water from the water clock has been dripping.

Through Hong's loneliness, Su Shi began to look back, embrace deep hatred and choose a home, expressing the author's lonely situation during his relegation to Huangzhou and his noble and confident state of mind that he did not want to go with the flow.

The most touching thing is that Su Shi compares himself to "loneliness", saying that although he is lonely, he can be noble and confident, not going with the flow, and still stick to his original heart, which is very rare.