Here's what happened in
Revenge of the Fly
The turtles and Baxter fight in a portal created in the Technodrome
Shredder closes the transdimensional portal, willing to get rid of them all
With Michaelangelo's hook they just get away from the portal, leaving Baxter trapped forever into oblivion (he doesn't even get a final retort)