Under what circumstances did Zhang Ji write a night-mooring near maple bridge?

From the existing poems of Zhang Jishi, we can know that he has been to Yanzhou, and there is a poem named "Fishing Terrace in Yanling". I have been to Huiji, with poems such as Huiji County Building Yukime and Huiji Autumn Night. I have also been to Suzhou, including Lingyan, and Changmen is near the night parking maple bridge related to this poem. About the time when the poet roamed wuyue, he took a boat and stopped at a dock on Wujiang River outside Suzhou for the night. The downstream of Wujiang is called Songjiang, so it has been collectively called Wu Songjiang. This section that flows through Shanghai is now called Suzhou River. Frosty Night, the first sentence explains the season. Frost can't be all over the sky, and the word "frost" should be understood as severe cold; Frost is the image language of extremely cold air. Crows are still crowing because they can't sleep because of the cold. The moon sets in the middle of the night. It must always be in the last quarter of late autumn or early winter. Passengers sleep on the boat, which is not a pleasant and comfortable sleep, but a kind of sleep with worries about travel. This night's sleep was accompanied by no one, only the maple trees by the river and the fire of night fishing were facing the travelers. This sentence is not difficult to understand, but it personifies the words Jiang Feng and Yu Huo. Sleeping with anxiety is sleeping with anxiety. Later generations, some people who don't understand poetry doubted how Jiang Feng could fish and sleep, so they attached a sentence saying that sleep is the name of the mountain opposite Hanshan Temple. Until modern times, some people quoted this sentence, saying that this poem is a big fallacy.