Would you like to copy the permanent link to your clipboard?
Permanent link:
https://help.openstreetmap.org/questions/60208/select-only-closed-ways-in-overpass-turbo-wizard/70504