@Manthan_Rathod, Glad to assist you.
For Better Visibility, Let us not combine 2 threads into a single thread.
I think you are referring to this thread: How to capture bot closed event in pwa?
We will discuss about the ‘bot-closed event’ on the above thread.