The only possible explanation I can think of is that he could've done some kind of Terranort situation, where he was possessing his heart and then, I guess, riding it back to Sora's actual body and then running away(he'd still end up at the tower though).
As for the raiding the tower, I'm not...