Disruption following the police dealing with an incident near the railway line between Ryde Pier Head and Shanklin has now ended.