Shepherd model for knot-limited polymer ejection from a capsid.