Shut down a subsystem
#include "SDL.h"
void SDL_QuitSubSystem(Uint32 flags);
SDL_QuitSubSystem allows you to shut down a subsystem that has been previously initialized by SDL_Init or SDL_InitSubSystem. The flags tells SDL_QuitSubSystem which subsystems to shut down, it uses the same values that are passed to SDL_Init.
SDL_Quit, SDL_Init, SDL_InitSubSystem