How to inherit or call the ShutDownEditor class?

I want to make a plugin. When closing the engine, a message prompt pops up. I found the ShutDownEditor function in the engine source code, but I don’t know how to call it in my own plugin.