Doug Pitcher at Rose Business Systems takes a look at dealing with stuck batches in Dynamics GP.
Stuck Batches in Dynamics GP
Archived post from 2009. Dynamics GP and the links it points to have changed since; check current documentation before relying on version-specific steps.