If you disable the module, all the content inside will be preserved.
You can enable and disable the module for individual departments and groups of users. For example, you can hide the corporate knowledge base from partners.
How to hide the Knowledge Base
Go to Settings > Additional Options > Knowledge Base.
Click on Restrict Access to the Knowledge Base > Select. Select the department or user group from whom you want to hide the knowledge base.
Click Apply.
Done! Now the selected departments and groups won't see the knowledge base in the account.
If you disable and then enable the Knowledge Base module again, it will remain hidden from selected departments or groups.