Why would the queen of England still be head state if Scotland goes independent?

If Scotland were to become independent, it is unlikely that the Queen of England would remain the head of state. This is because independence for Scotland would likely also involve the creation of a new Scottish monarchy or republic, with a new head of state.
Copyright Wanderlust World © https://www.ynyoo.com