Deductions & credits

There is no notion of "early withdrawal" for contributions. You can always take back your contributions to a Roth IRA.