Jesus was taken up to heaven in this verse as described in Acts 1.
1 The former account I made, O Theophilus, of all that Jesus began both to do and teach, 2 until the day in which He was taken up, after He through the Holy Spirit had given commandments to the apostles whom He had chosen, 3 to whom He also presented Himself alive after His suffering by many infallible proofs, being seen by them during forty days and speaking of the things pertaining to the kingdom of God. Acts 1:1-3
...being seen by them during forty days.
Jesus remained with them, and was seen by them for 40 days and gave them commandments until the day He was taken up.
The Day Jesus was taken up to heaven -
Now when He had spoken these things, while they watched, He was taken up, and a cloud received Him out of their sight. 10 And while they looked steadfastly toward heaven as He went up, behold, two men stood by them in white apparel, 11 who also said, “Men of Galilee, why do you stand gazing up into heaven? This same Jesus, who was taken up from you into heaven, will so come in like manner as you saw Him go into heaven.” Acts 1:9-11
Do you know what the Lord Jesus, was doing just before He was taken up to heaven in their sight, here in verse 9?
Jesus was giving commands to His Apostles, and speaking to them about the kingdom.
4 And being assembled together with them, He commanded them not to depart from Jerusalem, but to wait for the Promise of the Father, "which," He said, "you have heard from Me;
5 for John truly baptized with water, but you shall be baptized with the Holy Spirit not many days from now."
6 Therefore, when they had come together, they asked Him, saying, "Lord, will You at this time restore the kingdom to Israel?"
7 And He said to them, "It is not for you to know times or seasons which the Father has put in His own authority.
8 But you shall receive power when the Holy Spirit has come upon you; and you shall be witnesses to Me in Jerusalem, and in all Judea and Samaria, and to the end of the earth." Acts 1:4-8
To Summarize -
Jesus was presented alive to His Apostles, and gave commandments to them, until the Day...
He was with them, being presented alive to them and giving them commandments, until the day... He was taken up to heaven.
He was still giving commandments here in verse 4, as He was seen by them, and received commandments from Him during the 40 days He was with Him, up until the day He was taken up.
I see nothing here in Acts 1 that He was taken up to Heaven, some time before, and came back, and then went up again.
This account shows us a continual time He was seen by them and gave them commandments, right up until the Day He was taken up to Heaven.
The Day He was taken up to heaven is described in Acts 1:9-11, not some time before.
Likewise He will come a second time, for salvation, for those who eagerly wait for Him. Hebrews 9:28
JLB