RAM or Not to RAM
I understand that even if Ubuntu is not booted toram that it still runs mostly in RAM. It seems to somewhat depend on how the Live/Persistent drive was created.
If you boot normally, and open several programs, say GParted and LibreOffice Writer, then close the programs and unplug the USB, the programs should still be in memory and can be restarted without the USB. (This did not work for me with mkusb Persistent last time I tried).
Programs that were not previously booted, will not boot with the USB unplugged.
If you Boot toram and unplug the USB, (after everything stabilizes), all the programs, (within filesystem.squashfs), should be bootable.
My recommendation is to wait until you are sure the USB is not being written to, yank the USB and try starting a program that you have not just been using, say Calculator or Solitaire. If it starts you are likely booted toram.
If you do not like the idea of yanking your USB you should be able to unmount it using: sudo umount -lrf /cdrom where is the path to the root partition.
After you shut down a Live install that has been running in RAM, (such as an Etcher ISO9660 clone or Ventoy ISO file boot), all data in RAM disappears, as long as hibernation has not been set up on the disk. If hibernation has been set up, RAM data gets dropped into a swap file or partition and is available on resume. It is not easy to set up hibernation on a USB that does not have persistence or a Full install.