The moonroof stops and reverses some distance if it detects an obstacle when closing.