From a Reddit comment:
"Chapter 403, Sanji was defeated by Kalifa, Nami replaced the fight and complimented him. 10 chapters later, chapter 413, Sanji made an appearance and saved Usopp from Jabra. Then he made a speech to boost Usopp's confidence.
Chapter 1005, Sanji was captured by Black...