He has until Friday to sign paperwork allowing him to leave the US but banning him from re-entering for five years.