Old roads rarely are straight up deleted unless they were added incorrectly, or completely razed.

Instead we often do a prefix code to indicate they exist, but were states of disrepair.  This is sometimes useful for hikers and for people to not accidentally re-add them off older aerials.  It does keep it from being used by routers.  So it doesn't have much of a downside.

See here:
https://wiki.openstreetmap.org/wiki/Lifecycle_prefix

In Id (the name of the web editor) it's done through the advanced tag editor.  This would be disused:highway or abandoned:highway.  It also is used a lot of recently demolished buildings (aka demolished:building)

Fortunately, you can revert your change here via the changeset # where you deleted it (aka this one)
https://revert.monicz.dev/

If it's just a really terrible road, consider changing it to a track.

This catches everybody cause the web editor doesn't indicate *it all*.