Animation editor - shortening the time

Hello,
I have a problem in the animation editor.
Extending the animation time is fine, but I can’t shorten the timeline below 4:59.
Where am I making mistake

Thank you for your help