Does "engagement" mean the same thing in these two sentences?

We are enjoying a long engagement, but haven't yet set a date.

The teacher tried to increase his students' engagement in class activities.
different meanings