no need to shutdown sql instance,
just set the database offline. Once this is done you can then move the disk file.
After you copied the file to its new location use the alter database statement to modify the filepath then bring the database back online, job done 😉
-----------------------------------------------------------------------------------------------------------
"Ya can't make an omelette without breaking just a few eggs" 😉