He was God the Son (or Word if you prefer) before taking on the flesh and blood of the human being. Taking on that flesh and blood of the human being brought some very severe limitations. He was no longer omniscient, no longer omnipotent, no longer omnipresent, etc. When he returned to be with God, he again became God the Son (or the Word if you prefer). I have no doubt whatsoever that God, the Father, answered Jesus' prayer (John 17:5 ff) and upon ascension glorified Jesus together with the Father with the glory Jesus had with the Father before the world was. He once again is omniscient, omnipotent, omnipresent, and posses
all the attributes he once had as God, the Son, the Word no longer burdened and limited by the flesh and blood of mankind.