Right off the top you will have to pay a 10% federal tax penalty on taking an early withdrawal from your 401K. After that you will have to pay your normal tax rate on the money (around 20%). You can always roll it over to an IRA without any penalties.
depends on the exact wording of your company's match,but after penalties you might get as much as 80 percent,or as low as 60 percent. I wouldnt cash it in if you dont have to,roll it into an IRA otherwise you will have to pay taxes out of it,