What happens if you unplug your iPhone 4 while it is restoring?

I was restoring my phone because I forgot my passcode. After it got done restoring it asked me if I wanted to restore all of my pictures, contacts, music, etc my little brother unplugged it not knowing what he was doing. What is going to happen to it now?

p.s. As soon as he did it I plugged it back in immediately.

Well if it was close to done than everything would be restored but if it wasn't close to done than nothing would happen