While on my way home tonight(in my car) I crossed the LIRR Ronkonkoma line tracks btw Brentwood and the old Pineaire station, at 5th Ave/Wicks Rd. Looking to my right I could see the w/b train entering the Brentwood Station at approx 10:20 pm. I then proceeded to a gas station and spent 5 minutes or more there. While pumping my gas I saw gates go down and the the e/b train pass. It's due at Brentwood at 10:26 pm. I completed filling up and the gates went up again so I re-crossed the tracks to continue my journey. These gates are 1 block from the station. I happened to look over toward the station and to my shock the w/b train was still in the station, fully berthed. The sealed beams were illuminated so I stomped on the gas and got out of there as fast as I could. That piqued my interest so I went around the block and watched. The crossing gate directly in front of the train, on Brentwood Road, was in the UP position, with no flashing lights, and traffic was crossing directly in front of the train. I saw no emergency vehicle at the crossing either. From my vantage point I guess the train remained in the station for about 20 minutes before I saw it move out westbound. My question is can the gates be operated remotely, from a tower. I believe they can be operated with a key, on-site, by a crew member, because I've watched maintenance crews working at that location from time to time. I do know that when the gates are operating normally a west bound train triggers 3 sets of gates as it enters the Brentwood Station. I should add that there was an ambulance, originally hidden from my view, adjacent to the platform that I saw when the train finally left the station. It just shocked me to see 3 sets of gates up, with no flashing lights displayed and a train 1 street away. Please enlighten me ' cause I've never seen this before in almost 30 years of crossing at this location.