Be careful with this method! DO NOT ACCIDENTIALLY HIT “UPLOAD”! This will delete the objects from the database to. Just ignore the warning about unsaved data and close JOSM.