Yes there is.  On the bottom of your iPad keyboard, there is an icon for a keyboard with a down arrow on the icon. Hold the keyboard button down and a toggle to merge or merge and dock the keyboard will appear. While holding your finger on the ipad screen, slide your finger to the merge and dock toggle to put your keyboard back on the dock and merged back to one keyboard.