application.shutdown()
Unloads the application instance. If the application is running in vhost or application-level scope, only the application instance is unloaded, but the core process remains running. If the application is running in instance scope, the application instance is unloaded and the core process terminates. This process is done asynchronously; the instance is unloaded when the unload sequence begins, not when the shutdown() call returns.
After shutdown() is called, application.onAppStop() is called, connected clients are disconnected, and application.onDisconnect() is called for each client. Calls made after calling shutdown() may not be executed.
Flash Media Server 2
A boolean value indicating success (true) or failure (false).