Detuning regulation based on the scanning pump wavelength plays an important role in the generation of temporal solitons in an optical microcavity. Field evolution inside a CaF2 microcavity during the detuning regulation process is demonstrated. It is found that a stable single soliton can be excited when modulation instability dominates in the microcavity during frequency tuning with an appropriate scanning speed and operational parameters. However, due to the excessive loss caused by tuning, the soliton eventually evolves into a DC distribution. The influence of different parameters on the light field after formation of the soliton is also studied. Other different parameters lead to different distributional forms of soliton evolution. For maintenance of the single soliton, the appropriate detuning parameter and pump power are changed suddenly after the soliton is generated, causing the soliton to remain stable. Moreover, in the single soliton region, a path within the parameter space of detuning and pump power is planned in order to compress the pulse width of the soliton, and the comb spectrum is broadened. The results of theoretical analysis are important for studying field and spectral characteristics during frequency detuning and for maintaining the temporal soliton in the microcavity.