Kamban does not quote this episode. Hanuman was completely restrained by the pasabandha that came out of Brahamaastra. Though Hanuman was capable of releasing himself from that, choose not to do so. Indrajit releases him from the pasa (noose) just before the asuras, start setting fire on his tail. Throughout the conversation with Ravana, Hanuman was restrained as per Kamban.