PySpark referenceClassesSparkSessionstopOn this pagestop (SparkSession) Stops the underlying SparkContext. Syntax stop() Returns None Examples Pythonspark.stop()