
West Yorkshire Police said it had received calls for concern about the safety of a woman who was spotted on a motorway bridge.
A force spokesman said the motorway was being shut in both directions between Gildersome (junction 27) and Tingley (junction 28).
Highways England had also warned drivers that officers had stopped traffic on the eastbound carriageway and a full closure might be required.
In an update issued just after 3.30pm, the agency said police had resolved the incident and would be releasing traffic.
Police said the woman had been brought to safety and detained for a mental health assessment.