Quit not quitting

The first quote makes it sound like the plugin is calling back to one of your methods which has Quit in it. The second sounds like Quit is in a PushButtons Action. If it’s the former then the plugin may be using another thread and then the behavior sounds like what Beatrix mentioned.