The thrush, having adorned itself with a fine hat, appeared before the king, hoping for a warm welcome. However, instead of the hospitality it expected, the bird was swallowed whole by the king. Undeterred, the thrush, thinking the king to be but a man, continued to sing its sweet song loudly from within his stomach. Driven to madness by the incessant singing from inside, the king, in a desperate act, cut open his own belly to release the bird. Thus, the clever thrush regained its freedom.