Linux Mint uses apt for the regular system stuff.
with apt, canceling during the download phase is totally safe.
canceling during the install phase is ALSO fairly safe. apt tries to make sure you're never in an unbootable state if you have to cancel it, or your power cuts out, or whatever. It will, however, put apt into an "ack things are half-done!" state and you'll need to run sudo dpkg --configure -a after you're booted up, which is "finish installing the half-installed packages that apt was in the middle of doing before".
I think we've heard apt is better about this than most other package managers. So it might not be a good idea on EndeavourOS (Arch-based).
-- Frost