How does a night-mooring near maple bridge express the author's thoughts and feelings?

A night-mooring near maple bridge was written by the poet Zhang Ji when he passed Hanshan Temple after the Anshi Rebellion. The whole poem is:

Crows fell on the moon, crowed coldly, slept on maple trees, and slept in fishing lanes by the river.

In the lonely Hanshan Temple outside Suzhou, the bell that rang in the middle of the night reached the passenger ship.

This poem mainly shows the cold and cheerless atmosphere of autumn night in the water town and the loneliness of travelers.

Personally, I think the first poem describes the scene of the moon falling and frost soaking the bones in the early morning (although the frost is not in the sky, the direct feeling of the cold is that the frost falls from the air and covers the whole body), and I have cried several times recently. It presents a hazy, lonely and empty picture of autumn scenery-water town. The last three sentences are flashbacks. The poet who gets up in the morning is independent of the bow, and the sadness that can't be left behind in his dream (perhaps the anxiety about the old country, the old country, the war and the individual) haunts him. I think the maple trees and fishing fires by the river also fell asleep with sadness that night. Last night, I vaguely remembered that Hanshan Temple outside Hangzhou heard the sound of midnight (there was a habit of ringing the bell in the middle of the night, also called "impermanent clock"), which made the night clearer and clearer.

Some people say that the flashback of the last three sentences shows that the poet has insomnia all night. I think the poet fell asleep with unspeakable sadness and woke up in the early hours of the morning. The problem of sleeping or not is because of artistic conception. Insomnia is different from worrying about sleep. In this poem, serenity and profundity are better than sadness. That kind of waking morning, lingering sadness, the faint midnight in the dream, is very strong in silence. There is a unique feeling that I am a little trance and tired after waking up, but it is different from the drowsiness after insomnia.