It's great that you and your bird have been reuinted.
Accidents do happen when you own birds or any animal for that matter.
Granted, it's fortunate that something hasn't gone wrong for some
people, but to think that it can't happen is foolish.
I have had birds for many years and I have lost birds. Some have come
home and others have not. It's a fact of life. Period.
The important thing is that your bird is home and you will take every
precaution to make sure it doesn't happen again.
Congratulations to you and your buddy.