Retirement tax questions

I spoke to the IRA broker and he's not being helpful, your input is appreciated. I want to expand on my situation, I contributed a grand total of $12,000 and my IRA balance went down to $11,000(bad markets).

 

If I draw up $11,000 or $12,000(my contribution) to pay off my remaining student loan balance, there will not be a penalty. 

 

Based on my research and what you have provided, the answer is no. I will not be subject to the 10% penalty. 

 

I just want to be sure that I understand this correctly. thanks for your patience.