かえ ぎわではありませんでした
kaerigiwadewārimasendeshita

Noun
Desu Copula

The polite, past negative form of 帰り際

1. Was not the time to leave.; It wasn't the time for departure.

Past/Perfective
Negative
Polite
Formal Register