Hi Sanaullah,
Thank you for contacting Communities. I hope you are doing well.
What version are you on? And are you On-Prem or on a SaaS (cloud) version?
I just ran a test with Transfer Orders on my BC (SaaS) 16.3. I created a few transfer orders.
I go to the first one and Post the Shipment. It stays on that same transfer order. When I post the Receipt of the Transfer Order, that takes me back to the Transfer Order List, which is what I'd expect, which is what you are wanting.
I'll wait for your reply on what version you are on. Thank you.