Ending a conversation without sounding formal
The word وداعاً (wada’an) is a valid Arabic farewell, but it can carry a more weighty or literary tone than a quick exchange at a counter requires. If you have been reading Standard Arabic materials, keep that distinction in mind. A familiar spoken goodbye is often more useful than trying to reproduce a formal closing from a written text.
Listen for the person being addressed
The Egyptian verb form in a phrase such as أشوفك بعدين includes a pronoun referring to the listener. The ending is commonly pronounced differently when speaking to a man or a woman, even though the usual unvowelled Arabic spelling looks the same. Listening to the final syllable of ashufak or ashufek will help you recognise which form you heard.
A closing can be a short exchange
After a friendly chat, you may hear a wish for safety followed by a response invoking the same idea. It is not necessary to memorise every possible reply before travelling. Thanking a guide or shopkeeper and adding a simple goodbye is an understandable way to finish, and leaves room for the other person to respond naturally.