If you unplug your iPhone while iTunes is downloading /restoring the software on your iPhone, it may cause your dead to suffer from iOS glitches and may damage your system, causing your iPhone to stop running eventually.