《资治通鉴·宋纪·宋纪十二》
沈庆之听说何迈被杀后，果然前往劝谏，没有被允许进宫，只好返回。
庆之闻之，果往，不得进而还。
After Shen Qingzhi heard that He Mai had been murdered, he indeed went to remonstrate, but he was not allowed to enter the palace, so he had no choice but to turn back.
<s>[INST] 将以下现代汉语文本转换为文言文: 沈庆之听说何迈被杀后，果然前往劝谏，没有被允许进宫，只好返回。 [/INST] 庆之闻之，果往，不得进而还。</s>
将以下现代汉语文本转换为文言文: 沈庆之听说何迈被杀后，果然前往劝谏，没有被允许进宫，只好返回。
user
庆之闻之，果往，不得进而还。
assistant