USB not connecting to Ubuntu VM

You are best advised to repair the drive first – if it’s only file system damage, then chkdsk /f x: will likely fix it – if the damage is deeper, you will need to use chkdsk with the option to check for bad sectors.

An NTFS file system should only be repaired in a Windows environment, using chkdsk. The link I gave earlier will provide the information needed; you only need to read and understand it.

Depending on the actual damage, formatting the drive may (or may not) be overly beneficial; however, you can choose to do that with Windows or GParted (in Linux). I’d personally avoid using the default partitioner of Manjaro.

At this point, we don’t know what the file system is on your USB. We can only guess, as you haven’t given any useful information.

If it is EXFAT or FAT32 then using chkdsk will only perform a superficial repair; and the likelihood is high that data is already lost.

It might be helpful to provide some system information:

inxi --admin --verbosity=8 --filter --no-host --width

…and perhaps use lsblk to verify the file system in use.