Upstox does not store any Aadhaar numbers and the only situation we may have done is the use of your Aadhaar information, i.e. details such as Date of Birth, Address & Gender, as the proof of identification/address during account opening.
Hence, there is no process to unlink your Aadhaar from your trading/Demat account, even if you had earlier linked your Aadhaar with Upstox.
Related articles
how do i link my aadhaar with my mobile number for the first time
how do i link my pan with aadhaar