Home > bitburner > NS > exit NS.exit() method Terminates the current script immediately. Signature: exit(): void; Returns: void Remarks RAM cost: 0 GB