There's no feature on Bitcoin Core which allows you to remove some blocks safely.
From what I've read: you should just delete the last few block files in your "blocks" directory. However, when I tried this, it triggered a full download of all blocks.
Maybe that's because you deleted file which contain genesis block? IIRC Bitcoin Core would re-verify whole blockchain
I'm curious though: why do you want this, if your client is working fine?
I'm also curious, since this is clearly XY problem.