Yet another headphone stuck in retina macbook pro question
Do not know about software but assume you would like to use your Headphone eventualy.

Removing broken Headset pin


  The gentle methods:


Use instant glue at the end of Q-tip shaft.

The disadvantage, depending how deep you have to go in glue can stick and cover the contacts in the socket so it wont work afterward.


  The "Man" methods:


Use Drill bits (broken screw) removal tools, or something like it.
Yes you will be drilling :)

The disadvantage: You are Drilling !


  The profession methods:


Disassemble you computer and access the headphone jack from inside>this is the best method.

The disadvantage: Know-how + Time + Cost! ?