Removal of the Electron Beam from the Betatron