found photos.library in trash. trash cannot delete it
I placed about 40 files in the trash to be deleted. When I noticed that the trash was taking more time than usual to delete the files, I checked the trash to find that only about 6 files had been deleted. I also discovered the file "Photos Library.photoslibrary" which I had not put in the trash. I took the file "Photos Library.photoslibrary" out of the trash, but the trash monitor just kept moving back and forth, like it has crashed. I'm looking for any ideas about what I can do to empty the trash.
MacBook Pro 16″, macOS 13.6