Try the last command again, but use 50% or even 25% instead of 99%. If it fails with a much smaller size partition, then either you have found a very odd bug in macOS or perhaps your new drive is defective in some way.
You could try running DriveDX (using the special USB driver to communicate with a USB drive) to see if you can get the health status of the external drive. Unfortunately many external USB drive's controllers do not allow the necessary SMART commands to be passed to the external drive. Might be worth a try to see if any blatant errors show up on your external drive. Even if DriveDX reports the drive as healthy, please post the DriveDX report here using the "Additional Text" icon which looks like a piece of paper.
You can also try writing zeroes to the entire drive to see if it is possible. Sometimes writing to a drive will force the drive to reallocate a defective sector which could "repair" the drive and make it functional again. Here is the command to write zeroes to the entire drive. Again replace the "N" with the correct drive identifier. The drive needs to be unmounted first (not ejected). Erasing a 6TB drive may take a day or two.
Unmount any and all volumes on the drive (replace "<volume-name>" with the actual volume name. If the volume name includes spaces, then enclose the volume name in double quotes " ".
diskutil unmount <volume-name>
example with a volume name containing spaces (Untitled 1):
diskutil unmount "Untitled 1"
Write zeroes to the whole drive:
sudo dd if=/dev/zero of=/dev/diskN
Once the command finishes, make sure it wrote 6TB of data. Anything significantly less would mean you have a hardware issue with the new drive. You may need to do a little math.
If you are still within the return period, you may want to exchange this drive for another one. Otherwise try writing zeroes to the whole drive. If it works, great. If not, then you can create an RMA with Toshiba to get it replaced under warranty.
Do you have a powered USB3 hub you can use just in case the drive needs extra power and to have the hub act as a buffer between the drive and the computer? I've had intermittent issues using USB3 drives connected to a Mac and the powered hub makes everything just work.