When you fly around on the elytra with rockets (Any length of duration) and click to enter a mine cart, you can be rendered as still flying under the mine cart but still be "in" the mine cart. Make sure to click the bottom of the cart, and you'll see that it shows your character in the flying animation under the mine cart, while giving you the option of shift to leave mine cart. You cannot move the mine cart or fly away in this state, but you can shift to leave the cart.
Thank you for your report!
We're actually already tracking this issue in MC-100195, so I resolved and linked this ticket as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature in the future to see if the issue has already been reported.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki