I recently noticed this and there is no way to disable this closing tag removal.
Format on save is disabled.
I see a mention of being able to set this option here
https://docs.devsense.com/pt/vscode/editor/customize-formatting
but in actuality there is no setting that allows this.