This document describes how session termination works in BigQuery. It is intended for users who already have a general understanding of BigQuery sessions.
Terminating a session
BigQuery sessions are terminated automatically after 24-hours of inactivity or after 7 days. You cannot manually terminate a session. The history of a terminated session is available for 20 days after termination.