As the ash truck operator was beginning to dump a load of ash, the load shifted causing the truck to rock back on to the endgate in a wheelstand. The operator was trapped in the cab until a manlift truck could be taken to the location to remove them from the operator's cab. This took in excess of 30 minutes.