An imbalanced data set, especially, if the minority class is the one you are interested in, stays imbalanced. Sampling methods in general do not help, because you are not allowed to test your model also on up or downsampled data.
In detail, even if you up or downsample the training data, you need to test your algorithm on the pure imbalanced data.
If you are worried regarding the split, then a Stratified Kfold may help you:
https://stackoverflow.com/questions/65318931/stratifiedkfold-vs-kfold-in-scikit-learn
If you are worried about your precision/recall, then you can adjust the treshold for the positive class after the training, so that minority classes may be easier identified afterwards. This is called post-hoc.
You may also use Negative Mining. This can be used with classifiers, which accept sample weights. In detail, you would punish misclassifications of false positives (so to speak your model thinks an observation is the minority class but it isn't). This requires a model for training, to get the misclassifications, and then a second model with updated weights as a parameter.
The latter is done post-hoc and during training.
In summary, most of the time, you do nothing. You can adjust the threshold or sample weights during training. Up or downsampling like SMOTE is not useful, as EdM has already pointed out.
NegativeMining also appears in DeepLearning, for those who are interested:
https://finetuner.jina.ai/advanced-topics/negative-mining/?ref=jina-ai-gmbh.ghost.io