Here "be taken up" implies that Jesus will be taken up to heaven. This can be stated in active form. Alternate translation: "When the time was coming for him to go up heaven" or "When it was almost time for him to leave this world" (See: [[rc://en/ta/man/translate/figs-explicit]] and [[rc://en/ta/man/translate/figs-activepassive]])