There is no strict rule regarding removing a Rakhi for Raksha Bandhan. One can do so when they want to. Most people prefer to keep their Rakhi on as long as the strings permit.