Regular kill of either will do the right thing as well. Reaching directly for the hardest sledgehammer available might not, as the
-9 kill will be interpreted as a crash and cause a restart when that’s possible, yes.
Generally speaking, never use
kill -9. File a bug on whatever program didn’t shut down properly from a normal kill instead.