Withdrawing from my 401k

I left my old job June 2021 and had a 401k with Vanguard. My current employer doesn’t match and I haven’t done anything with the account since I left my old company.

 

I have credit card debt that gives me stress everyday and I’d really like to withdrawal from my 401k to help me pay some of that down and relieve some of my stress. 

 

My questions are:

could this be considered a hardship withdrawal? 
If i do have to pay the 10% penalty, when do I pay that? and is the 10% or the total amount or 10% after tax? 


thank you!