Can I resign with immediate effect to avoid disciplinary action?