My first thought is he will just let him out, no trade required.
Biden might release him, grant him citizenship. Maybe the terrorist can then go about the country speaking at college campuses about how America is the Great Satan. He would make $ millions a year!