Plugin development: site settings "enabled" checkbox not working

That isn’t how that setting is meant to work. It is meant for you to disable your plugins behavior (in code) . Your plugin still gets loaded.