End a Guided Access session
Triple-click the Side or Home button, enter your Guided Access passcode, then tap End. Or if you turned on Touch ID or Face ID for Guided Access, double-click the Side or Home button.
Source: Use Guided Access with iPhone, iPad, and iPod touch - Apple Support.