Mycoplasma bovis

Mycoplasma bovis is anaerobic and gram positive. It does not have a cell wall It replicates while inside other cells.

My question.
If Mycoplasma bovis were inside a spore forming bacterium, would it survive when the host enters the spore stage due to adverse conditions?

Look forward to answers and more questions to clarify the first question.
Thanks