I think you are probably after an SN1 reaction and/or an E1 reaction.
The way that your question is written a carbocation is also an intermediate in other reaction mechanisms such as rearrangements of carbocations or electrophilic substitution reactions.
Carbocation:
In which reaction mechanism is it an intermediate?
1 answer