I'm wondering if he goes somewhere else. I don't want to test it because I can't risk losing him. I have an Emerald Rayquaza, but still.
I checked around. Apparently, if you faint him or flee, he will disappear, but the tower itself will still be there. And if you defeat the elite 4, he will return.