Sounds like he has formed an association with going to sleep in your bed.
When they are teething/sick, it is easy for routines to go out the window, but they react when you change back. So you have to decide that he is going to stay in his bed now he is healthy & work at it for as long as it takes... unfortunately there is no magic easy solution.