No. No.
It would have taken much more moral courage and made much more of an important progressive political statement to resign in protest than doing nothing for eight years - rewarding Wall Street for their criminality, abandoning Main Street to the bankers, giving in to the Republicans' every demand, letting the military-industrial complex take command of the wars, remaining silent about the mass shootings for fear of the NRA, remaining silent about police shootings, remaining silent about increasing racism, deepening poverty, letting Hillary make war on Libya, etc., etc.
  Due to Obama's epic failure and Hillary's epic failure, Trump pushes the whole world even further to the far right and the future of liberal progressivism looks very dim.