Longitudinal Trapping and Particle Loss of High Intensity Bunched Beams