I think it was quit or get fired. Personally, it was better to resign IMHO.
Resigning looked like an admission of guilt.