On trucks equipped with automatic transmissions such as Allison 2500RDS, the PTO gear drives from the torque converter side of the transmission, and it stops when placed in drive at idle.
You must add RPMs to lock the torque converter, usually 1000 to 1100 RPM engine speed, and the PTO will turn the pump again.