If you plan on keeping those files on the USB drive, just disconnect and you're done — but be sure that the transfer is actually complete before you do. Some larger files may take longer. Your iPhone or iPad doesn't have an eject button like you'd use on your laptop when you're ready to disconnect the drive. Remember that you can also use that flash drive to move the files to an additional location, if you want. You'll just have to connect the drive to wherever else you want to move them.
You might also think about how you want to organize your backups as you go. Instead of dumping a bunch of files on the drive, remember that in the Files app, for example, you can create a new folder by tapping the three dots. You can label that new folder so you know what's in it and from when. Of course, MacBook users can just use their built-in backup tool, but for those who want their files and backups on multiple devices, nothing beats a USB flash drive.