Reset boot mode on exit so power failures are gracefully handled