What does BYE do in IMS?

It ends an established SIP dialog and starts the release transaction.