As soon as the Ender dragon spawns again in the End dimension, the portal to the overworld disappears. Now, you have to either kill the dragon or get killed to go back to the overworld.