Yes. What I was telling you was that there is no concept of MTM for short option positions like in futures. Check this explanation.
In futures, whatever is the loss on one side is collected and paid to the client on the other side of the position. In options, the option buyer doesn’t get money credited like in futures if say the short option holder loses money. The way it works with short option trades is that when position goes against you, the margin required to hold the position increases & indirectly acts like MTM. The margins don’t necessarily go up as much as your loss. So for example if you short 1 Nifty 17200 calls at say Rs 100 and premium Rs 1lk. If the premium goes to Rs 200, the margin requirement to hold this may not be Rs 1.05 lks (Rs 1lk + Rs 5 loss), it could potentially be Rs 1.03lks. It depends on the SPAN.
Like I explained, if your margin to hold the spread goes up and if your account doesn’t have sufficient margins to hold it, yes, it will get squared off to avoid exchange penalty on the account.