Contributed too much into my SEP

I contributed too much money into my SEP according to TurboTax. I need to pull more cash then currently available, so if I transfer stock out of the account into an individual plan, do I go on cost or the current value? I am assuming cost, but not sure. Thank you.