How to remove js using theme, which was added by plugin in WordPress site?

You can use the below code with the required changes in the theme’s function file.

Refer to the documentation for more info

  add_action( 'wp_enqueue_scripts', 'remove_thrive_appr_main_script' );
  function remove_thrive_appr_main_script() {
      wp_deregister_script( 'handle-of-style' );
  }

Note – ‘handle-of-style’ = handle of style (You have to replace it with your own one)

I hope this will help you.