United Future leader Peter Dunne says he is was a victim of "extreme muck-raking" during the investigation into how a Government Communications Security Bureau report was leaked to media.
Mr Dunne resigned as a minister earlier this month after refusing to hand over emails to the inquiry into the leak of the Government Communications Security Bureau (GCSB) report to Fairfax reporter Andrea Vance.
Mr Dunne has denied leaking the report.
He told TV3's The Nation that continuing as a minister was not tenable in the circumstances.
"Could I have toughed it out? I don't know, I didn't really think that was appropriate."