To shut down an LTM, log in to it and enter this at the isql prompt:
shutdown
When you shut down an LTM, it refuses additional connections, terminates threads, and exits.