Sources have told The Post that Pan was locked up Friday over fears he was suicidal.

Sullivan put off Pan’s trial, which was supposed to be under way already, until April 15, unless Pan is determined fit before then.

Defense lawyer Irwin Rochman said he would be ready for trial within a few days of Pan’s release.

A lawyer for co-defendant Jia “Jenny” Hou, Liu’s former campaign treasurer, said she didn’t wouldn’t request a separate trial before Pan’s because she was planning to use his expected testimony as part of her defense.