i had the 10 percent tax taken out can i get the penalty waived
Those are not reasons which would exclude the 10% early distribution penalty on a distribution from an 401(k) account.
See this IRS tax topic for exceptions to the early distribution penalty from accounts that are not an IRA - https://www.irs.gov/taxtopics/tc558