Sorry to hear about your Apple Pencil
Let’s get it doing what it does best!
My advice here would be to get a sewing needle and scratch a small divot into the bit stuck inside until you have enough leverage to start Turing it out!
If that doesn’t work try using a small flat head screwdriver carefully as this method is to be used as a last resort.
If you need any help with it please do not hesitate to ask
Hopefully all goes well for you