Escape of Flare-accelerated Particles in Solar Eruptive Events