On 1.20.1 with the Sprint option set to "Toggle", and with sprint engaged, dying in any way resets the player's Sprint state to off. Works in any gamemode besides spectator.
Link to video demonstration: https://1drv.ms/v/s!AhhBf_qoQ9Aei7oO4Zy0lU9abnWYWg?e=MR8hpd
This is my first bug report so I hope I'm doing it right!
Linked issues
Attachments
Comments

Thank you for your report!
We're tracking this issue in MC-263293, so this ticket is being resolved and linked as a duplicate.
That ticket has already been resolved as working as intended, which means this is not considered a bug and won't be fixed. Please do not leave a comment on the linked ticket.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki