The shared queue cannot be deleted while a print job is being spooled to the queue.
Any action to correct the problem should be performed on that computer. You attempted to delete an active printer.
After the current print job has finished spooling, either print or delete the job. Then delete the printer.