Plan a first trail run you can shorten
Choose a turnaround point and leave time for the return before committing to a new route.

For a first run on a new trail, pick an out-and-back route with an easy point to identify. A marked junction or a bridge works. Set a turnaround time before you start and use the earlier of the two limits.
Read the return as well as the start
Look at the return leg on a map. If you begin with a descent, you will finish on a climb. Budget time for walking there. Make a note of trail junctions, check local closures and bring a map you can open with weak reception. The National Park Service hiking safety guide lists measures for preparing for the conditions you will encounter.
Build in a short option
In an example route with a fork at fifteen minutes and a viewpoint at thirty, the fork is a usable first goal. Once you have gone out and returned in daylight, you can use your own time and footing notes to decide whether the viewpoint makes sense on a later trip.