Contact the consulate immediately and request that your passport be returned. The letter you got when your application was put into administrative processing should have the correct contact information. Otherwise check the US embassy website for your country for contact information. You also could have (and possibly should have) requested it to be returned at your interview.
This does not necessarily cause your application to fail. When administrative processing is complete, the consulate will contact you to resubmit your passport to receive the visa (if you are approved).
Credit:stackoverflow.com‘