You can then make dump_everything then loop through the contents and call eject(item)