Safely remove command using a remote.