Before Zelda sends him back, she mentions that you must close the door of time
"You must lay the Master Sword to
rest and close the Door of Time...
However, by doing this, the road
between times will be closed..."
That implies that going back doesn't erase that future, it just cuts it off...