A severely disabled Manhattan man spent 17 terrifying hours trapped alone on a dark and frigid school bus when he was abandoned in a parking lot on one of the coldest nights of the year.

Bus matron Linda Hockaday, who has been charged with reckless endangerment,told police she left Ed Wynn Rivera sleeping in his seat “because she was late for church,” police sources said.

She knew he was there,” the source said. “She was hoping one of the other workers would notice him.”

Rivera,who is 22 but has the mental capacity of a toddler, might have been rescued sooner, but Brooklyn cops missed him in a search of the bus depot. Cops searched the wrong lot while Rivera sat strapped helplessly in his seat in a lot hidden behind a corrugated steel fence.

He sat there all night long on New Year’s Eve as the mercury plunged to 15 degrees.

He’s lucky he didn’t die from hypothermia. Good thing his family kept pushing everyone “in charge” to keep up the search.