Hard to tell what’s the issue without looking at the logs. Please enable Verbose Logging, run the scene, then submit a trouble ticket with the logs attached, and let me know the ticket number.
Have a search for issues with this command in scenes - there are a few who have had similar problems where you get a scene to “turn on, then after x minutes turn off”. The turning on (or whatever the first command is) generally works, but the following “and then after xx minutes…” command doesn’t work - for various reasons.
The solution is to create a separate scene to do the reverse of what you set up in your first scene.
I have had this issue this week, and saw the suggestion to create a second scene in various areas on the forum - it solved my issue, and may well solve yours. Good luck!