Start small
A behaviour learned in one room may need fresh practice in each new environment.
There is no need to rush. A predictable, manageable step is usually more useful than trying to solve the whole situation in one day.
Try this next
Change one thing at a time, such as the room or the distance, and return to easy steps when needed.
Notice what helps your dog stay comfortable and engaged, then repeat that version before making the situation harder.
Keep it kind and practical
Keep the next step easy enough that your dog can succeed. If you are worried about safety or feel stuck, pause and ask a qualified reward-based professional for help.