public void closeProgram(Program program) {
		PluginTool tool = state.getTool();
		if (tool == null) {
			return;
		}
		ProgramManager pm = tool.getService(ProgramManager.class);
		pm.closeProgram(program, false);
	}
Closes the specified program in the current tool.

@param program the program to close
Ghidra/Features/Base/src/main/java/ghidra/app/script/GhidraScript.java