Abandoned railway doesn't render as anything on the map.  Changing existing paths or tracks to them is only "removing" those paths from the map.
The tag is a bit controversial: https://wiki.openstreetmap.org/wiki/Tag:railway%3Dabandoned