"fdisk" has already done it's changes once you hit the "w" key. What you can do is recreate the partition(s) exactly as they were before you reboot and it should be fine. fdisk will only manipulate the partition table, not the file system or data so as long as you recreate the partition table just as it was (starting cylinder is key) it should be fine.