Kill an appImage by the process name on linux

Hello,

I have a graphic glitch when I want to quit the Nextcloud appImage and I use to kill it with a SIGINT signal using htop. Then I’d like to write an executable bash script to properly close Nextcloud once it is launched.
We can kill a regular process by its name with a command like pkill --signal SIGINT brave but how to do it when it comes to appImage processes?

Thank you

Please open an issue with the Nextcloud team. Thanks.