Another captured child, Boo follows along only because of Nabuca's promise that he will return home once the war is done. He fundamentally detests what he is doing (though he tries to deny it, including to himself), and is the one who eventually helps Shu to escape.
(Source: Wikipedia)