I came across the following website article[1]:
I understand the mechanism and also get the fact that this is nothing but an experimental result but why does the $\ce{ClSOO-}$ group departs spontaneously to form a carbocation? Also since carbocation is formed will there be any rearrangement(if possible)?
Reference:
[1]: SOCl2 mechanism for alcohols to alkyl halides: SN2 versus SNi
https://www.masterorganicchemistry.com/2014/02/10/socl2-and-the-sni-mechanism/
(accessed Jun 15, 2021).