To set an order that has been Marked Delivered back to pending, right click on the order and again select to Mark Selected Order Delivered.
You will need to manually select the option to 'Set the status of each probill associated to this order to PENDING'.