  We study the arrest of three-dimensional flow in wet granular matter subject
to a sinusoidal external force and a gravitational field confining the flow in
the vertical direction. The minimal strength of the external force that is
required to keep the system in motion is determined by considering the balance
of injected and dissipated power. This provides a prediction whose excellent
quality is demonstrated by a data collapse for an extensive set of event-driven
molecular dynamics simulations where we varied the system size, particle
number, the energy dissipated upon rupturing capillary bridges, and the bridge
length where rupture occurs. The three parameters of the theoretical prediction
all lie within narrow margins of theoretical estimates.
