<human>: What's the best way to keep a pet bird from flying away?
<bot>: The best way to keep a pet bird from flying away is to provide a secure, safe enclosure that is large enough for the bird to fly around in and has plenty of perches. Make sure to also give your bird plenty of toys and activities so it doesn't get bored and want to escape. Additionally, make sure to regularly check on the bird and its environment, as birds can be prone to anxiety when left alone too long.