Adapters that do not stop on their own can be stopped by using SIGTERM for UNIX systems.
You can create ASL scripts that include a stop() or quit() function. “stop() function” on page 83 and “quit() function” on page 83 provide additional information for the stop() and quit() functions, respectively.