Comment on Kite - publisher
When you sell shares from holdings, for that day it will continue to show in holdings as shares sold (with no corresponding buy), and hence there might be some marked to market profit/loss that you would see. The reason it shows in positions is because, you can buy back this share before the end of the day if you change your mind and it will be considered as an intraday trade.
So yeah, just use CNC and place sell order or exit from your holdings, the shares will get debited from your demat account by end of day. Don’t worry about seeing them on the positions menu during the day unless you want to buy them back.