The simplest solution, and one which does no harm to the barrel is as follows. Fill the barrel behind the bullet with water, then fire a primer only. Water is not compressible, and the force of the primer is enough to drive the bullet from the barrel. Depending where the bullet is stuck, and how long your barrel is, this may take several attempts, but because your bullet is already protruding one primer will do it. Do this outside if possible, but if you do it in the house, point the gun at a pile of dirty cloths or something soft to act as a bullet trap. It won't come out fast, but fast enough to dent a wood floor or break a ceramic tile. If you do it under a smoke detector, the smoke detector will probably go off.
When we were youngsters we used to shoot cast bullets in the basement in this fashion until we discovered wax bullets worked better. That is when we discovered that water behind a stuck bullet would un-stick it without resorting to the tool box.