This is the 13045th most frequent Turkish word.
kapatmasıyla
"By closing it" or "with its closing."
In this sentence, 'kapatmasıyla' indicates the termination of the program which caused the subsequent departure of the attendees.
Programın kapatmasıyla herkes toplantı salonundan ayrıldı.
When the program ended, everyone left the meeting room.
'kapatmasıyla' refers to the act of closing that has occurred, connecting it to the consequence of needing to shop elsewhere.
Dükkanın kapatmasıyla alışverişe başka bir yere gitmemiz gerekti.
With the closure of the store, we had to go shopping somewhere else.
Here, 'kapatmasıyla' implies the completion or ending of the ceremony, leading to the action of hosting guests.