Reboot with the Toshiba software and the restore will work correctly.
This article will guide you how to download Windows Defender Offline ISO and boot it from USB.
Everything is working like a charm, and it’s cheaper than OWC (and probably faster). Finally, I restored my Air from a Time Machine Backup. (Gparted does not offer an APFS option) Then, I booted on an external hard drive with High Sierra and used Disk Utility to change the partition table to GUID and format the SSD to APFS.If you don't need memory testing, or if you just want an alternative Linux partitioning boot disc, GParted Live is a slightly lighter-weight boot disc that also supports booting from a USB flash.