Unable to clear parent for rig

Hello! Blender Community, I made a model and when I add a rig to it, I later am not able to unlink it either by keeping transform or other way
I tried clear parent multiple times, clear parent inverse, clear parent keep transform.
All by first selecting the mesh then the rig and also the opposite
can somebody help me with this?
The only way it unlinks is when I delete the armature but I need those transformations and when I delete armature it goes back to default position.

Just so I understand correctly, you want to remove the armature but keep the current pose, in other words, to “bake” current pose into geometry?
In that case, you need to Apply the Armature modifier, and then unparent the object with Keep Transform.


Thankyou So much, It worked