UE Switch OFF versus Airplane mode

Guys, please tell me one thing:

UE Switch OFF versus Airplane mode.
Both works same.

I mean after both process UE context will be released from gNB?

And will it again do RACH and all those process to get notified to network?

Yes, correct.

Detach Request, Type switch off for both.

When UE switched Off/ Airplane mode, on which msg will I see in wireshark?

Detach Request.