The first reaction to a red X is to order a new drive and rip out the old one. I’d slow down. While a disk is disabled, Unraid emulates it from parity and the other disks, and that gives you time.
What the docs say happens: Unraid stops writing to the physical drive, any updates go into parity and the emulation, and you can still access the data that was on it. Your shares keep working. A file on the failed disk opens like before, only slower, because Unraid reads every other drive to reconstruct it. The docs mention read speeds dropping to 30 to 60 MB/s or lower during this.
So the first thing I’d do is look at the emulated disk itself, through its disk share:
ls /mnt/disk4
If the folders and files are there, the rebuild will put exactly that onto the new drive. The docs also point out that the physical drive is kept intact for potential recovery, so leave it alone while you sort things out.
If the emulated disk shows as unmountable, stop there. The docs are clear that rebuilding from an unmountable emulated disk gives you an unmountable new disk, and that a rebuild won’t change the file system or fix it. Repair the file system on the emulated disk first; it is quicker than a rebuild anyway.
The caveat is that you are running without protection for that slot. With single parity, one more failure while a disk is emulated means data loss, so this is the moment to copy anything you can’t replace to somewhere else, before any rebuild starts hammering the remaining drives.
Further reading: Unraid docs: Replacing disks in array, Unraid docs: Arrays overview
Going deeper: Get the most out of Unraid: the settings worth changing, from shares to backups